View source: R/pathway_heatmap.R
create_dendrogram | R Documentation |
Create dendrogram plot from hierarchical clustering
create_dendrogram(
hclust_obj,
dendro_line_size = 0.5,
dendro_labels = FALSE,
horizontal = FALSE
)
hclust_obj |
An hclust object from hierarchical clustering |
dendro_line_size |
Line width for dendrogram branches |
dendro_labels |
Whether to show labels on dendrogram |
horizontal |
Whether to create horizontal dendrogram |
A ggplot dendrogram
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.