grid.dendrogram2: Draw dendrogram under grid system

Description Usage Arguments Author(s) Examples

Description

Draw dendrogram under grid system

Usage

1
2
grid.dendrogram2(dend, facing = c("bottom", "top", "left", "right"),
    max_height = NULL, order = c("normal", "reverse"), ...)

Arguments

dend

a dendrogram object which has been adjusted by adjust_dend_by_leaf_width, or else it will be sent back to grid.dendrogram.

facing

same as in grid.dendrogram.

max_height

same as in grid.dendrogram.

order

same as in grid.dendrogram.

...

same as in grid.dendrogram.

Author(s)

Zuguang gu <z.gu@dkfz.de>

Examples

1
2
3
4
m = matrix(rnorm(100), 10)
dend = as.dendrogram(hclust(dist(m)))
dend = adjust_dend_by_leaf_width(dend, width = 1:10)
grid.dendrogram2(dend)

eilslabs/ComplexHeatmap documentation built on May 16, 2019, 1:21 a.m.