add_pseudotime: add pseudotime in monocle object to the metadata of the...

View source: R/scRNA1.R

add_pseudotimeR Documentation

add pseudotime in monocle object to the metadata of the seurat object

Description

add pseudotime in monocle object to the metadata of the seurat object

Usage

add_pseudotime(seurat_object, monocle_object)

Arguments

seurat_object

seurat object, which has same cells and genes as monocle_object

monocle_object

monocle object, which include pesudotime and has same cells and genes as seurat_object

Value

seurat_object with pseudotime

Examples

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

jiang-junyao/IReNA documentation built on Nov. 15, 2024, 1:51 a.m.