c.HeatmapAnnotation: Concatenate Heatmap Annotations

Description Usage Arguments Details Examples

Description

Concatenate Heatmap Annotations

Usage

1
2
## S3 method for class 'HeatmapAnnotation'
c(..., gap = unit(0, "mm"))

Arguments

...

HeatmapAnnotation-class objects.

gap

Gap between the groups of annotations.

Details

The heatmap annotations should have same number of observations.

Examples

1
2
3
4
5
6
7
ha1 = HeatmapAnnotation(foo = 1:10)
ha2 = HeatmapAnnotation(bar = anno_points(10:1))
ha = c(ha1, ha2)
ha
ha3 = HeatmapAnnotation(sth = cbind(1:10, 10:1))
ha = c(ha1, ha2, ha3, gap = unit(c(1, 4), "mm"))
ha

zhongmicai/complexHeatmap documentation built on May 7, 2019, 6:11 a.m.