find_tips {destiny} | R Documentation

## Find tips in a DiffusionMap object

### Description

Find tips in a DiffusionMap object

### Usage

    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

    data(guo)
    dm <- DiffusionMap(guo)
    is_tip <- l_which(find_tips(dm), len = ncol(dataset(dm)))
    plot(dm, col = factor(is_tip))

[Package destiny version 2.6.2 Index]