collapse.to.star {phytools}R Documentation

Collapse a subtree to a star phylogeny

Description

This function collapses a subtree to a star, keeping the tips at the same height above the root as in the original tree.

Usage

collapse.to.star(tree, node)

Arguments

tree

an object of class "phylo".

node

node for the clade to be collapsed.

Value

An 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.

See Also

splitTree, starTree


[Package phytools version 0.4-60 Index]