drawTree: Draw a dendogram with ggplot

Description Usage Arguments Value Examples

View source: R/drawTree.R

Description

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

Usage

1

Arguments

hclust

an object of class hclust.

Value

None

Examples

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

cytofast documentation built on Nov. 8, 2020, 5:46 p.m.