c.HeatmapAnnotation {ComplexHeatmap} | R Documentation |
Concatenate Heatmap Annotations
## S3 method for class 'HeatmapAnnotation' c(..., gap = unit(1, "points"))
... |
|
gap |
Gap between the groups of annotations. |
The heatmap annotations should have same number of observations.
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