Description Usage Arguments Details Value Prerequisites See Also
Merges two cells from the same or different lineage trees.
1 2 | merge_cells(LT1, LT2 = NULL, cell1, cell2, cell_list, col_list, Ncols, pixelR,
matFolder, matFileName, exeFolder, mcrFolder, show = TRUE)
|
LT1 |
The lineage tree where the cell specified in |
LT2 |
The lineage tree where the cell specified in |
cell1 |
The label of the first cell in the |
cell2 |
The label of the second cell in the |
cell_list |
A list containing all the cell instants of the movie. |
col_list |
A list containing all the colony instants of the movie. |
Ncols |
Number of colonies in the movie, a non-zero positive integer value. |
pixelR |
The pixel ratio in units of length, a non-zero positive numeric value. |
matFolder |
A character string naming the absolute path of the directory where
the |
matFileName |
A character string naming the |
exeFolder |
A character string naming the absolute path of the installation folder of the MATLAB executable
(excluding the last |
mcrFolder |
A character string naming the absolute path of the installation folder of the Matlab Compiler Runtime (MCR)
(excluding the last |
show |
A logical value ( |
After the merge operation, cell1
is replaced in both LT1
and cell_list
by the resulting cell.
Daughter branches of cell2
are extracted from LT2
(or LT1
in case LT2 = NULL
),
with successive calls of extract_branch
.
These motherless branches (lineage trees) are added as daughter branches to cell1
,
with successive calls of add_branch
, until cell1
has two daughters.
Finally, cell2
is deleted from LT2
(or LT1
in case LT2 = NULL
)
with extract_branch
.
A named list with the following components:
LT1 |
The updated LT1 with |
LT2 |
The updated LT2 with |
cell_list |
The updated cell_list with |
branches |
A list with the remaining motherless branches.
Each branch (element of the list) is an object of class |
This function can be used by BaSCA users only,
importing the data with import_basca
.
split_cell
for the reverse.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.