Description Usage Arguments Details Value
Computes the growth curve of a numeric attribute for each cell in a division tree, by fitting a linear or exponential model to the its attribute's time-series.
1 | add_attr_growth_fit_pars(LT, DT, attr, model = c("lin", "exp"), frameR)
|
LT |
The lineage tree, an object of class |
DT |
The corresponding division tree of the |
attr |
The name of the attribute in the |
model |
A character string naming the growth model to be fitted:
where |
frameR |
Frame rate of the movie in frames per minute, a non-zero positive numeric value. |
The estimated parameters as well as the RMSE of the fitted growth model
are added as attributes to the DT:
When model = "lin":
"<attr>_a", a non-zero positive numeric value in units of attr per hour
"<attr>_b", a positive numeric value in units of attr
"<attr>_linRMSE"
When model = "exp":
"<attr>_k", a non-zero positive numeric value in units of attr per hour
"<attr>_0", a non-zero positive numeric value in units of attr
"<attr>_expRMSE"
NA values are stored for cells that failed to fit the selected model
as well as for cells that are not included in the analysis, as returned from get_cells.
Information messages for cells that failed to fit the model are printed on the screen.
The updated DT with the new attributes added, an object of class "igraph".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.