drawTree: Draw a dendogram with ggplot

View source: R/drawTree.R

drawTreeR Documentation

Draw a dendogram with ggplot

Description

Function to draw only a dendrogram with ggplot, the tree can be easily alligned to other graphs (e.g. heatmaps).

Usage

drawTree(hclust)

Arguments

hclust

an object of class hclust.

Value

None

Examples

hc <- hclust(dist(data.frame(x1 = rnorm(10), x2 = rnorm(10), x3 = rnorm(10))))
drawTree(hc)


KoenAStam/cytofast documentation built on June 1, 2022, 1:15 a.m.