This function merges two or mapped states on the tree to get one new state. For instance, one could merge the states
"T" to get the state
mergeMappedStates(tree, old.states, new.state)
a modified object of class
states to merge.
name for new state.
A modified object of class
Liam Revell [email protected]
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.