collapseTree {phytools} | R Documentation |
Function creates an interactive visualization of collapsing & expanding clades on the tree.
collapseTree(tree, ...)
tree |
an object of class |
... |
optional arguments. These mostly match the arguments of |
Function first plots a fan style tree, and then the user collapses node on the tree by clicking on them. Collapsed nodes are collapsed to the common ancestor of the clade. Nodes that have been collapsed can also be expanded by clicking.
Returns the final plotted tree.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.