Get the states at nodes or tips from a mapped tree
This function gets the states from the nodes or tips of a mapped tree (e.g., make.simmap
).
getStates(tree, type=c("nodes","tips"))
tree |
is a modified object of class |
type |
mode indicating whether to get states at the nodes ( |
A named vector (for "phylo"
) or matrix (for "multiPhylo"
).
Liam Revell liam.revell@umb.edu
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.