Description Usage Arguments Details Value
Creates the X-Y scatter plot of two numeric attributes of a lineage or division tree.
1 2 3 4 |
tree |
The lineage or division tree, an object of class |
treeT |
A character string naming the type of
|
attr1, attr2 |
The names of the attributes in the |
unit1, unit2 |
The units of the corresponding |
attrC |
The name of the attribute in the |
unitC |
The unit of |
NC |
Number of colonies in the movie (if |
attrS |
The name of the attribute in the |
Nbins |
Number of equally spaced bins to be used for |
save |
A logical value ( |
savePars |
A named list specifying the parameters of the generated image file.
This argument is ignored in case
|
Each data point (x,y) represents the value of attr1
and attr2
of a cell, respectively.
The scatter plot is created for all cells that are included in the analysis,
as returned from get_cells
,
except for cells with NA
value in attr1
or attr2
.
By default, all data points are dot points colored based on the density of the (X,Y) variable value.
2D binning is applied on the range of all attr1
and attr2
values.
Density represents the counts (number of data points) in each bin.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.