Congruify nodes of a tree topology to nodes from a source chronogram, and find the mrca nodes
Source:R/calibrations_congruify.R
congruify_and_mrca_phylo.Rdcongruify_and_mrca congruifies a target tree against a single
source chronogram, and gets nodes of target tree that correspond to the most
recent common ancestor (mrca) of taxon pairs from the congruified calibrations.
It uses phytools::findMRCA() to get mrca nodes.
Arguments
- phy
A
phyloobject.- source_chronogram
A
phyloobject, output ofdatelife_search().- reference
A character string indicating the study reference that the
source_chronogramcomes from.