minRotate {phytools}R Documentation

Rotates all nodes of the tree to minimize the difference in order with a vector

Description

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.

Usage

minRotate(tree, x)

Arguments

tree

tree.

x

numeric vector.

Details

Primarily designed to be used internally by phylo.to.map.

Value

A object of class "phylo".

Author(s)

Liam Revell liam.revell@umb.edu

References

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.


[Package phytools version 0.4-60 Index]