Retrieving most recent common ancestors
Source:R/RcppExports.R
PhylogeneticForest-cash-get_coalescent_cells.Rd
This method retrieves the most recent common ancestors of a set of cells.
Value
A dataframe representing, for each of the identified
cells, the identified (column cell_id
), whenever the
node is not a root, the ancestor identifier (column
ancestor
), whenever the node was sampled, i.e., it is
one of the forest leaves, the name of the sample
containing the node, (column sample
), the mutant
(column mutant
), the epistate (column epistate
),
and the birth time (column birth_time
).
Details
If the optional parameter cell_ids
is
used, this method find the most recent common ancestors of
the cells having an identifier among those in cell_ids
.
If, otherwise, the optional parameter is not used, this
method find the most recent common ancestors of the forest
leaves.
See also
SamplesForest$get_coalescent_cells()
for usage examples