collapse.singles {ape}R Documentation

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

Author(s)

Ben Bolker bolker@zoo.ufl.edu

See Also

plot.phylo, read.tree


[Package ape version 3.0 Index]