pullNodeSeq | R Documentation |
pullNodeSeq Extracts a vector of all ancestors of a given taxon in a phylogeny.
pullNodeSeq(phy, tip)
phy |
The phylogeny of interest in phylo format |
tip |
The tip of interest |
A vector of ancestors
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.
phylogeny<-rtree(100)
answer<-pullNodeSeq(phy=phylogeny,tip="t1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.