draw_annotation-Heatmap-method {ComplexHeatmap} | R Documentation

## Draw column annotations

### Description

Draw column annotations

### Usage

    ## S4 method for signature 'Heatmap'
    draw_annotation(object, which = c("top", "bottom"))

### Arguments

`object` | a `Heatmap-class` object.
`which` | are the annotations put on the top or bottom of the heatmap?

### Details

A viewport is created which contains column annotations.

Since the column annotations is a `HeatmapAnnotation-class` object, 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

    # no example for this internal method
    NULL

[Package ComplexHeatmap version 1.18.1 Index]