add_heatmap-HeatmapAnnotation-method {ComplexHeatmap} | R Documentation

## Add Annotations or Heatmaps as a Heatmap List

### Description

Add Annotations or Heatmaps as a Heatmap List

### Usage

    ## S4 method for signature 'HeatmapAnnotation'
    add_heatmap(object, x, direction = c("horizontal", "vertical"))

### Arguments

`object` | A `HeatmapAnnotation-class` object.
`x` | A `Heatmap-class` object, a `HeatmapAnnotation-class` object or a `HeatmapList-class` object.
`direction` | Whether it is horizontal list or a vertical list?

### Details

Normally we directly use `+` for horizontal concatenation and `%v%` for vertical concatenation.

### Value

A `HeatmapList-class` object.

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    # There is no example
    NULL

[Package ComplexHeatmap version 2.6.2 Index]