ProjectCells: Project cells from one Seurat object onto the pseudotime axis...

Description Usage Arguments

View source: R/pseudotime.R

Description

Project cells from one Seurat object onto the pseudotime axis (or any other continuous variable) from another Seurat object.

Usage

1
2
3
ProjectCells(dge_train, dge_test, genes.use = dge_train@var.genes,
  regressout = c("IG1.S", "S", "G2.M", "M", "M.G1"),
  to_project = "pseudotime", k = 25, pc.use = 1:25, test_mode = F)

Arguments

dge_train

Seurat object with 'pseudotime' field included.

dge_test

Seurat object. Cells will be assigned a pseudotime value based on 'dge_train'.

genes.use

Defaults to 'dge_train@var.genes'. If you use method="PCA", use the same genes here. If you aren't sure, use method="KNN".

regressout

Please put whatever you used for 'latent.vars' in RegressOut when you processed 'dge_train'.

to_project

Character vector such that FetchData( dge_train, to_project) contains numeric columns. Try "pseudotime" or c("tSNE_1", "tSNE_2").

k

Number of nearest neighbors to use.

pc.use

which principal components to use for nearest neighbor search.


maehrlab/thymusatlastools documentation built on May 28, 2019, 2:32 a.m.