Description Usage Arguments Examples
Subset the HeatmapAnnotation object
1 2 | ## S3 method for class 'HeatmapAnnotation'
x[i, j]
|
x |
A |
i |
Index of observations. |
j |
Index of annotations. |
1 2 3 4 5 6 | 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")]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.