Description Usage Arguments Details Value Author(s) See Also
Method which converts any existing subnodes into their phylobase equilvalent, singleton nodes (nodes with an in-degree and out-degree equal to one).
1 | collapse.subnodes(x, rm.ex.data = TRUE)
|
x |
An object of type phylo4d_ext which contains subnodse |
rm.ex.data |
Should data columns that only exist in subnodes.data be removed (TRUE is recommended). |
This functions allows a user to convert from RBrownie:::phylo4d_ext
objects to phylobase:::phylo4d
objects without loosing any of the tree's topological information (or data). This is in contrast to the collapse.singletons
function which removes subnodes and returns a phylo4d tree without singletons or subnodes
An object of class phylo4d
with singleton nodes where subnodes used to be
J. Conrad Stack
collapse.singletons
,
phyext
,
expand.singles
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.