View source: R/calibrations_congruify.R
congruify_and_mrca_multiPhylo | R Documentation |
congruify_and_mrca_multiPhylo
congruifies a target tree against all
source chronograms in a multiPhylo
object, and gets nodes of target tree
that correspond to the most recent common ancestor (mrca) of taxon pairs
in the congruified calibrations.
It calls congruify_and_mrca_phylo()
, and phytools::findMRCA()
to get mrca nodes.
congruify_and_mrca_multiPhylo(phy, source_chronograms)
phy |
A |
source_chronograms |
A |
a data.frame
of node ages from source_chronograms
and corresponding
mrca nodes in target tree phy
. attributes(return)$phy
stores the congruified and mrca matched phylogeny.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.