drawTree | R Documentation |
Function to draw only a dendrogram with ggplot, the tree can be easily alligned to other graphs (e.g. heatmaps).
drawTree(hclust)
hclust |
an object of class |
None
hc <- hclust(dist(data.frame(x1 = rnorm(10), x2 = rnorm(10), x3 = rnorm(10)))) drawTree(hc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.