find_tips: Find tips in a DiffusionMap object

Description Usage Arguments Value Examples

View source: R/dpt-helpers.r

Description

Find tips in a DiffusionMap object

Usage

1
find_tips(dm_or_dpt, root = random_root(dm_or_dpt))

Arguments

dm_or_dpt

A DiffusionMap or DPT object

root

Root cell index from which to find tips. (default: random)

Value

An integer vector of length 3

Examples

1
2
3
4
data(guo)
dm <- DiffusionMap(guo)
is_tip <- l_which(find_tips(dm), len = ncol(guo))
plot(dm, col = factor(is_tip))

destiny documentation built on Nov. 8, 2020, 7:38 p.m.

Related to find_tips in destiny...