Skip to contents

congruify_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.

Usage

# S3 method for phylo
congruify_and_mrca(phy, source_chronogram, study)

Arguments

phy

A phylo object.

source_chronogram

A phylo object, output of datelife_search().

study

A character string indicating the name of the study the source_chronogram comes from.