minRotate | R Documentation |
Rotates all the nodes of the tree to try and minimize the different between the order of the tips and the rank-order of a numeric vector x
or (in the case of tipRotate
) the actual integer vector, x
.
minRotate(tree, x, ...)
tipRotate(tree, x, ...)
tree |
tree. |
x |
numeric vector. |
... |
optional arguments to be used by |
Both minRotate
and tipRotate
are designed primarily to be used internally by other phytools functions and particularly by phylo.to.map
(in the case of minRotate
) and by cophylo
(in the case of tipRotate
).
A node-rotated object of class "phylo"
.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.