get_pseudotime: Calculate pseudotime of cells

View source: R/scRNA1.R

get_pseudotimeR Documentation

Calculate pseudotime of cells

Description

Use monocle to calculate the pseudotime and return a monocle object

Usage

get_pseudotime(seurat_object, reverse = FALSE, gene.use = NULL)

Arguments

seurat_object

seurat object

reverse

TRUE or FALSE, whether to reverse the pseudotime, default is TURE

gene.use

vector, indicating the variable genes to calculate pseudotime

Value

return monocle object which contain pseudotime

Examples

load(system.file("extdata", "test_seurat.rda", package = "IReNA"))
get_pseudotime(test_seurat)

jiang-junyao/IReNA documentation built on Nov. 4, 2024, 8:29 p.m.