random_root {destiny} | R Documentation

## Find a random root cell index

### Description

Finds a cell that has the maximum DPT distance from a randomly selected one.

### Usage

    random_root(dm_or_dpt)

### Arguments

`dm_or_dpt` | A `DiffusionMap` or `DPT` object

### Value

A cell index

### Examples

    data(guo)
    dm <- DiffusionMap(guo)
    random_root(dm)

[Package destiny version 3.1.0 Index]