Skip to contents

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.

Usage

congruify_and_mrca_multiPhylo(phy, source_chronograms)

Arguments

phy

A phylo object.

source_chronograms

A multiPhylo object, output of datelife_search().

Value

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.