collapse.singletons: Collapse singleton nodes

Description Usage Arguments Value Author(s) See Also

Description

This function turns any singleton nodes (internal non-root nodes with degree = 2) into subnodes. It uses the function addSubNodes to attach the nodes to a phylo4d_ext object. These subnodes are positioned on the branch relative to the descendant node.

Usage

1

Arguments

phy

phylo4 tree with singletons that will potentially be collapsed.

Value

The tree with the singletons collapsed.

Author(s)

J. Conrad Stack

See Also

hasSubNodes


phyext documentation built on May 2, 2019, 5:19 p.m.