project.cells.onto.ppt: Project cells onto the principal tree

Description Usage Arguments Value

View source: R/crestree.functions.R

Description

Project cells onto the principal tree

Usage

1
project.cells.onto.ppt(r, emb = NULL, n.mapping = 1)

Arguments

r

pptree object

emb

if not NULL than cell branch assignment and color code of branches are shown

n.mapping

number of probabilistic mapping of cells onto the tree to use. If n.mapping=1 then likelihood cell mapping is used.

Value

modified pptree object with new fields r$cell.summary, r$cell.info and r$img.list. r$cell.summary contains information about cells projected onto the tree, including pseudotime and branch.


hms-dbmi/crestree documentation built on July 11, 2019, 8:04 p.m.