draw_annotation-Heatmap-method {ComplexHeatmap} | R Documentation

## Draw Heatmap Annotations on the Heatmap

### Description

Draw Heatmap Annotations on the Heatmap

### Usage

    ## S4 method for signature 'Heatmap'
    draw_annotation(object, which = c("top", "bottom", "left", "right"), k = 1, ...)

### Arguments

`object` | A `Heatmap-class` object.
`which` | The position of the heamtap annotation.
`k` | Slice index.
`...` | Pass to `viewport` which includes the complete heatmap annotation.

### Details

A viewport is created which contains column/top annotations.

The function calls `draw,HeatmapAnnotation-method` to draw the annotations.

This function is only for internal use.

### Value

This function returns no value.

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    # There is no example
    NULL

[Package ComplexHeatmap version 2.6.2 Index]