Description Usage Arguments Value See Also
View source: R/collapseSingles.R
Collapse singleton edges in a phylogenetic tree. This function
is an alternative for collapse.singleton from the ape package that
will also work when ape::reorder(phy)
throws an error. (And this
tends to happen often when taxonomic relationships are converted to trees.)
1 | collapseSingles(phy)
|
phy |
An object of class |
An object of class "phylo"
.
taxdump2phylo
, comprehensiveGuidetree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.