extract_branch: Extract a branch from a tree

Description Usage Arguments Value See Also

Description

Extracts a branch from a lineage or division tree. The branch for extraction is defined by its root cell.

Usage

1
extract_branch(tree, cell)

Arguments

tree

The lineage or division tree, an object of class "igraph".

cell

The label of the cell in the tree which is the root of the branch to be extracted, a character string. It can be any cell, as returned from get_cells.

Value

A named list with the following components:

treeNew

The new tree with the branch extracted, an object of class "igraph".

branch

The extracted connected motherless branch, an object of class "igraph".

See Also

add_branch for connecting a motherless branch to a lineage tree.


vicstefanou/ViSCA documentation built on May 31, 2019, 10:50 p.m.