Description Usage Arguments Details Value See Also
Creates the X-Y scatter plot of a numeric attribute between family cells of a division tree. The scatter plot can be created for specific generation(s) or for the whole population.
1 2 3 |
DT |
The connected division tree, an object of class |
attr |
The name of the attribute in the |
unit |
The unit of |
type |
A character string naming the type of the family cells for which to create the scatter plot:
|
gens |
The IDs of the generations which will be included in the scatter plot,
a vector of non-zero positive integer values.
When |
Ngens |
Number of generations in the movie, a non-zero positive integer value. |
save |
A logical value ( |
savePars |
A named list specifying the parameters of the generated image file.
This argument is ignored in case
|
A common scatter plot for all generations specified in gens
is created.
In the general case, each data point (x,y) represents the attribute value of
the older and younger cell of the family, respectively.
The scatter plot is created for all specified family cells that are included in the analysis,
as returned from get_cells
,
except for cells with NA
value in attr
.
Data points are dot points colored based on the generation of the younger cell.
Note that when type = "s"
or type = "c"
, there is no distinction between older and younger cell,
since both cells are of the same generation.
The linear regression line is also drawn on the plot.
X is the predictor variable and Y is the response.
The parameters of the regression line are found using the linear least squares method
provided by lm
.
A named list with the following components:
Ncells |
Number of cells, a non-zero positive integer value. |
r |
The Pearson correlation coefficient (a numeric value in the range |
regression |
A named list with the following components:
In case less than 2 unique data points exist, |
In case no cells exist, no plot is generated and NULL
is returned.
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.