Description Usage Arguments Details Value Author(s)
This function is not being used at this point, but works. Sister function of expand.singles -> converts internal nodes with zero-length branches into singletons (in phylo4 format). Will only work if the zero-len branch is connected to a tip.
1 | collapse.to.singles(tree, by.name = NULL)
|
tree |
Phylo4 object |
by.name |
If this is set then tip labels are searched for this pattern and those nodes are collapsed. (see |
Not currently being used.
A new phylogenetic tree which contains singleton nodes (possibly)
J. Conrad Stack
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.