Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


phytools (version 0.3-10)

collapse.to.star: 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".

See Also

splitTree, starTree