| plot.taxodist_cluster | R Documentation |
Plots the hierarchical clustering dendrogram produced by taxo_cluster().
## S3 method for class 'taxodist_cluster'
plot(
x,
main = "Taxonomic Clustering",
xlab = "",
sub = paste("Method:", if (!is.null(x$hclust)) x$hclust$method else "None"),
...
)
x |
A |
main |
Plot title. Default: |
xlab |
X-axis label. Default: |
sub |
Subtitle. Default: clustering method used. |
... |
Additional arguments passed to |
Invisibly returns x. Called for side effects (plotting).
taxa <- c("Tyrannosaurus", "Velociraptor", "Triceratops", "Brachiosaurus")
cl <- taxo_cluster(taxa)
plot(cl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.