getMRCAbtr: getMRCAbtr

Description Usage Arguments

View source: R/treeStructureFunctions.R

Description

This an extension of apes's getMRCA that enables the return of a tip, or an MRCA. Translates taxa codes (BayesTraits) to proper tip labels. Useful only in post-processing.

Usage

1
getMRCAbtr(x, tree, rjtaxa)

Arguments

x

A vector of taxa names

tree

A phylogeny of class "phylo" (generally the time tree used as input to BayesTraits)

rjtaxa

The taxa translations as output from BayesTraits


hferg/BTprocessR documentation built on March 8, 2020, 11:45 a.m.