Description Usage Arguments Examples
Attach heatmap annotations to the heatmap
1 2 3 | ## S4 method for signature 'Heatmap'
attach_annotation(object, ha, side = c("top", "bottom", "left", "right"),
gap = unit(1, "points"))
|
object |
A |
ha |
A |
side |
Which side of the heatmap. Value should be in "top", "bottom", "left", "right". |
gap |
Space between the two heatmap annotations. |
1 2 3 4 5 6 7 8 | m = matrix(rnorm(100), 10)
ht = Heatmap(m)
ha = HeatmapAnnotation(foo = 1:10)
ht = attach_annotation(ht, ha)
ht
ha2 = HeatmapAnnotation(bar = letters[1:10])
ht = attach_annotation(ht, ha2)
ht
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.