plot.TreeStructure | R Documentation |
Plot TreeStructure tree with cluster and partition variables
## S3 method for class 'TreeStructure'
plot(x, use_ggtree = TRUE, ...)
x |
A TreeStructure object |
use_ggtree |
Toggle ggtree or ape plotting behaviour |
... |
Additional arguments passed to ggtree or ape::plot.phylo |
tree <- ape::read.tree( system.file('sim.nwk', package = 'treestructure') )
(struc <- trestruct( tree ))
#plot treestructure object
plot(struc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.