pullNodeSeq: Extracts a vector of ancestors for a given taxon. Code written by Jonathan S. Mitchell for
Zelditch et al. (2017)
Description
pullNodeSeq Extracts a vector of all ancestors of a given taxon in a phylogeny.
Usage
pullNodeSeq(phy, tip)
Value
A vector of ancestors
Arguments
phy
The phylogeny of interest in phylo format
tip
The tip of interest
References
Zelditch, M.L., J. Ye, J.S. Mitchell, and D.L. Swiderski. 2017. Rare ecomorphological
convergence on a complex adaptive landscape: Body size and diet mediate evolution of jaw shape in
squirrels (Sciuridae). Evolution 71:633-649.