draw_dend-Heatmap-method: Draw dendrogram on row or column

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Draw dendrogram on row or column

Usage

1
2
3
## S4 method for signature 'Heatmap'
draw_dend(object,
    which = c("row", "column"), k = 1, max_height = NULL, ...)

Arguments

object

a Heatmap-class object.

which

is dendrogram put on the row or on the column of the heatmap?

k

a matrix may be splitted by rows, the value identifies which row-slice.

max_height

maximum height of the dendrograms.

...

pass to viewport, basically for defining the position of the viewport.

Details

If the matrix is split into several row slices, a list of dendrograms will be drawn by the heatmap that each dendrogram corresponds to its row slices.

A viewport is created which contains dendrograms.

This function is only for internal use.

Value

This function returns no value.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

See Also

grid.dendrogram

Examples

1
2
# There is no example
NULL

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