ape (version 3.1-1)

collapse.singles: Collapse Single Nodes

Description

This function deletes the single nodes (i.e., with a single descendant) in a tree.

Usage

collapse.singles(tree)

Arguments

tree
an object of class "phylo".

Value

  • an object of class "phylo".

See Also

plot.phylo, read.tree