Description Usage Arguments Details Value Author(s)
This function expands singleton nodes into bifurcating nodes with one zero-length branch. This isn't much and was originally used to convert phylo4 objects with singletons into phylo objects ('ape'). This adds new taxa and assigns them a unique identifiier name.
1 | expand.singles(tree, keep.data=FALSE)
|
tree |
A tree with singleton nodes |
keep.data |
Should a phyl4d (TRUE) or phylo4 (FALSE) object be returned. |
This function isn't used much, but might be used to convert phylo4 objects with singletons to phylo objects with zero-length branches. Might be helpful for writing singletons to file (via ape).
A phylo4 object with the singletons converted.
J. Conrad Stack
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.