get_cells: Get cells of a tree

Description Usage Arguments Value

Description

Returns the labels of the cells in a lineage or division tree.

Usage

1
get_cells(tree, treeT = c("LT", "DT"), type = c("all", "nr", "inc"))

Arguments

tree

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

treeT

A character string naming the type of tree:

  • "LT" if tree is a lineage tree

  • "DT" if tree is a division tree

This argument is ignored in case type = "all"

type

A character string naming the type of cells to be returned:

  • "all" for all cells (including any existing imaginary root cells)

  • "nr" for all non-root cells (excluding any existing imaginary root cells)

  • "inc" for all cells included in the analysis

Value

The labels of the corresponding cells, a vector of character strings.


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