View source: R/structured_coal.R
extract_lineage_times | R Documentation |
Extracts Lineage times (but faster) from a parent phylogeny based on provided divergence MRCA nodes and times.
extract_lineage_times(
phylo.preprocessed,
div.MRCA.nodes,
div_times,
return_partitions = FALSE
)
phylo.preprocessed |
preprocessed phylogeny |
div.MRCA.nodes |
labels of MRCA nodes of diverging lineages |
div_times |
absolute divergence times |
return_partitions |
if true, return a list named 'partitions' containing tip labels for each partition |
A list containing lists of sampling time vectors sam.times and coalescent time vectors coal.times for each lineage.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.