getStates | R Documentation |
Gets the states from the nodes or tips of a mapped tree (e.g., make.simmap
).
getStates(tree, type=c("nodes","tips","both"))
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. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.
describe.simmap
, make.simmap
, read.simmap
, sim.history
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.