-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProjectCells.Rd
30 lines (24 loc) · 1.28 KB
/
ProjectCells.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pseudotime.R
\name{ProjectCells}
\alias{ProjectCells}
\title{Project cells from one Seurat object onto the pseudotime axis (or any other continuous variable) from another Seurat object.}
\usage{
ProjectCells(dge_train, dge_test, genes.use = [email protected],
regressout = [email protected]$ScaleData$vars.to.regress,
to_project, k = 25, pc.use = 1:25, test_mode = F)
}
\arguments{
\item{dge_train}{Seurat object with 'pseudotime' field included.}
\item{dge_test}{Seurat object. Cells will be assigned a pseudotime value based on `dge_train`.}
\item{genes.use}{Defaults to `[email protected]`. If you use method="PCA", use the same genes here.
If you aren't sure, use method="KNN".}
\item{regressout}{Please put whatever you used for 'latent.vars' in RegressOut when you processed 'dge_train'.}
\item{to_project}{Character vector such that FetchData( dge_train, to_project) contains numeric columns.
Try "pseudotime" or c("tSNE_1", "tSNE_2").}
\item{k}{Number of nearest neighbors to use.}
\item{pc.use}{which principal components to use for nearest neighbor search.}
}
\description{
Project cells from one Seurat object onto the pseudotime axis (or any other continuous variable) from another Seurat object.
}