draw_title-Heatmap-method {ComplexHeatmap} | R Documentation

## Draw heatmap title

### Description

Draw heatmap title

### Usage

    ## S4 method for signature 'Heatmap'
    draw_title(object,
        which = c("row", "column"), k = 1, ...)

### Arguments

`object` | a `Heatmap-class` object.
`which` | is title 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.
`...` | pass to `viewport`, basically for defining the position of the viewport.

### Details

A viewport is created which contains heatmap title.

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]