| [.HeatmapAnnotation {ComplexHeatmap} | R Documentation |
Subset the HeatmapAnnotation object
## S3 method for class 'HeatmapAnnotation' x[i, j]
x |
A |
i |
Index of observations. |
j |
Index of annotations. |
ha = HeatmapAnnotation(foo = 1:10, bar = anno_points(10:1),
sth = cbind(1:10, 10:1))
ha[1:5, ]
ha[, c("foo", "bar")]
ha[, 1:2]
ha[1:5, c("foo", "sth")]