ComplexHeatmap (version 1.10.2)

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

Description

Draw dendrogram on row or column

Usage

## S3 method for class '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.

Value

  • This function returns no value.

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.

See Also

grid.dendrogram

Examples

Run this code
# There is no example
NULL

Run the code above in your browser using DataCamp Workspace