plot.clustering | R Documentation |
Plot an object of class clustering
## S3 method for class 'clustering' plot(x, horiz = TRUE, type = "dendrogram", ...)
x |
An object of class |
horiz |
Logical indicating if the dendrogram should be drawn horizontally or not. |
type |
The type of plot. Must be one of the 'dendrogram' or 'cophenetic'. |
... |
Other arguments passed from the function |
An object of class gg, ggplot
if type == "cophenetic"
.
Tiago Olivoto tiagoolivoto@gmail.com
mean_gen <- data_ge2 %>% mean_by(GEN) %>% column_to_rownames("GEN") d <- clustering(mean_gen) plot(d, xlab = "Euclidean Distance")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.