draw_dimnames-Heatmap-method {ComplexHeatmap}R Documentation

Draw row names or column names

Description

Draw row names or column names

Usage

## S4 method for signature 'Heatmap'
draw_dimnames(object,
    which = c("row", "column"), k = 1, dimname_padding = unit(0, "mm"), ...)

Arguments

object

a Heatmap-class object.

which

are names put on the row or on the column of the heatmap?

k

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

dimname_padding

padding for the row/column names

...

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

Details

A viewport is created which contains row names or column names.

This function is only for internal use.

Value

This function returns no value.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

# no example for this internal method
NULL


[Package ComplexHeatmap version 1.18.1 Index]