+.AdditiveUnit {ComplexHeatmap} | R Documentation

## Horizontally Add Heatmaps or Annotations to a Heatmap List

### Description

Horizontally Add Heatmaps or Annotations to a Heatmap List

### Usage

    ## S3 method for class 'AdditiveUnit'
    x + y

### Arguments

`x` | A `Heatmap-class` object, a `HeatmapAnnotation-class` object or a `HeatmapList-class` object.
`y` | A `Heatmap-class` object, a `HeatmapAnnotation-class` object or a `HeatmapList-class` object.

### Details

It is only a helper function. It actually calls `add_heatmap,Heatmap-method`, `add_heatmap,HeatmapList-method` or `add_heatmap,HeatmapAnnotation-method` depending on the class of the input objects.

The `HeatmapAnnotation-class` object to be added should only be row annotations. Column annotations should be added to the heatmap list by `%v%`.

`x` and `y` can also be `NULL`.

### Value

A `HeatmapList-class` object.

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### See Also

`%v%` operator is used for vertical heatmap list.

### Examples

    # There is no example
    NULL

[Package ComplexHeatmap version 2.3.4 Index]