collapse.singles.useRec | R Documentation |
Modified collapse.singles() from package ape which deletes the single nodes (i.e., with a single descendant) in a tree, respecting the rec function. Internal, used by drop.tip.rec
collapse.singles.useRec(tree, root.edge = FALSE)
tree |
an object of class |
root.edge |
whether to get the singleton edges from the root until the first bifurcating node and put them as |
tree with rec data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.