| mergeMappedStates | R Documentation |
Merges two or mapped states on the tree to get one new state.
mergeMappedStates(tree, old.states, new.state)
tree |
an object of class |
old.states |
states to merge. |
new.state |
name for new state. |
mergeMappedStates can be used to merge two or more mapped states into a single, new state. For instance, one could merge the states "C", "G", and "T" and define the new the state "not-A".
An object of class "simmap" or "multiSimmap".
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.
make.simmap, read.simmap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.