minRotate {phytools} | R Documentation |
This function 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
.
minRotate(tree, x)
tree |
tree. |
x |
numeric vector. |
Primarily designed to be used internally by phylo.to.map
.
A object of class "phylo"
.
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.