tree: Tree-related functions

Description Usage Arguments Details Value

Description

Get an example of a lineage tree. Given a lineage tree, get an edge matrix accordingly in bottom-up order (from leaves to root).

Usage

1
2

Arguments

graph

igraph-class: Object containing the lineage tree. Needs to be a rooted tree.

edges

Logical: Should the result contain a column with the edge index in tree corresponding to the respective row?

Details

exampleLineageTree returns the hematopoietic cell lineage tree from Bock et al. (2012).

Value

getEdgeMatrix Edge matrix in bottom-up order.
exampleLineageTree List with two components: traversal: igraph-class object containing cell lineage tree. layout: layout for plotting the tree.


Shicheng-Guo/lyne documentation built on May 9, 2019, 1:27 p.m.