createFDT: Create cells' FDT

Description Usage Arguments Details Value See Also

Description

Creates the cells' Forest of Division Trees (FDT) given the corresponding Forest of Lineage Trees (FLT).

Usage

1
createFDT(LTmain, minLife = 5, frameR)

Arguments

LTmain

The main part of the overall FLT, a connected lineage tree containing the imaginary root cells (object of class "igraph").

minLife

Minimum life in frames for a cell to be included in the analysis, a positive integer value. The default value is 5. Use value 0 to exclude all leaf cells from the analysis.

frameR

Frame rate of the movie in frames per minute, a non-zero positive numeric value.

Details

A continuous segment (sequence) of LT nodes between two successive cell divisions represents the lifespan of a cell. A cell is divided if

The fuction creates the Forest of Division Tree (FDT) by reducing all LT cell segments down to single nodes (DT nodes), except for the imaginary root cells.

Each node of the FDT represents a cell at its full lifespan, having as character string attributes the concatenation of all attributes of the collapsed LT nodes by ", ", with the following exceptions:

The concatenated "name" attribute represents the labels of the collapsed cells (instants of the cell) and is renamed to "cellInstants". The "name" attribute is again a non-zero positive integer number stored as a character string, denoting the label of the cell in the FDT. Value "1" corresponds to the main root cell. Values "1+<i>" correspond to the colonies' root cells, where "<i>" is the colony ID. The rest values correspond to the cells.

For each numeric attribute in the FLT (except for "colony" and "frame", plus "age" and/or "generation" in case they exist), the concatenation represents the cell's time-series of the attribute. Given each cell's time-series of an attribute "<attr>", the following numeric life attributes are estimated and stored as attributes in the corresponding FDT node:

These numeric attributes are in units of "<attr>".

The following attributes are also life attributes and are stored in each DT node:

Value

A named list with the following components:

DTmain

The corresponding main part of the overall FDT, a connected division tree containing the imaginary root cells (object of class "igraph").

LTmain

The updated LTmain with the attributes "generation" and "age" updated/added, an object of class "igraph". The "age" attribute denotes the age of each cell instant in frames.

Ngens

Number of generations in the movie, a non-zero positive integer value. IDs of generations are in the range [0, Ngens-1].

See Also

isConnected for checking if a tree is connected, save_tree for saving a tree on disc.


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