Description Usage Arguments Details Value See Also
Calculates the instantaneous Rate Of Change (ROC) of a numeric attribute of a lineage tree. The ROC is calculated for each cell in the tree and can be positive or negative.
1 | add_attr_roc(LT, attr, norm = TRUE, frameR)
|
LT |
The connected lineage tree, an object of class |
attr |
The name of the attribute in the |
norm |
A logical value ( |
frameR |
Frame rate of the movie in frames per minute, a non-zero positive numeric value.
This argument is ignored in case |
The calculated ROC is added as an attribute to the LT
:
"d<attr>_norm"
, a numeric value in the range [-1, 1]
in arbitrary units, when norm = TRUE
"d<attr>"
, a numeric value in units of attr
per hour, when norm = FALSE
NA
values are stored for cells that are just born
as well as for cells that are not included in the analysis, as returned from get_cells
.
The updated LT
with the new attribute added, an object of class "igraph"
.
isConnected
for checking if a tree is connected.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.