collapse.to.star {phytools} | R Documentation |
This function collapses a subtree to a star, keeping the tips at the same height above the root as in the original tree.
collapse.to.star(tree, node)
tree |
an object of class |
node |
node for the clade to be collapsed. |
An 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.