Learn R Programming

destiny (version 2.0.4)

random_root: 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

Run this code
data(guo)
dm <- DiffusionMap(guo)
random_root(dm)

Run the code above in your browser using DataLab