getMRCAbtr: getMRCAbtr

Description Usage Arguments

View source: R/treeStructFuncs.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/btrtools documentation built on May 17, 2019, 3:56 p.m.