collapseSingles
: function
Overview
Collapses all singleton nodes in a phylogenetic tree (e.g. all nodes with only one descendent).
Example
Arguments
- Input tree: An input phylogenetic tree
Outputs
- Output tree: Tree with all singleton nodes removed.
References