getDescendants: Get descendants in a tree

Description Usage Arguments Value References

Description

Helper function to extract all descendants of 'clus' in a tree, one node per cluster. This code is adapted from the R package 'slingshot'.

Usage

1
getDescendants(clus, forest, parent = NULL)

Arguments

forest

the adjacency matrix between clusters (nodes)

parent

the parent cluster (node) that will be excluded from the result

clust

the cluster (node) to start with

Value

A vector containing the list of descendants

References

Street K, Risso D, Fletcher RB, et al. (2017). "Slingshot: Cell lineage and pseudotime inference for single-cell transcriptomics." bioRxiv. 10.1101/128843


lingxuez/SOUP documentation built on May 28, 2019, 3:38 p.m.