Description Usage Arguments Details Value Author(s) Examples
Add heatmaps and row annotations to the heatmap list
1 2 | ## S4 method for signature 'HeatmapList'
add_heatmap(object, x)
|
object |
a |
x |
a |
There is a shortcut function +.AdditiveUnit
.
A HeatmapList-class
object.
Zuguang Gu <z.gu@dkfz.de>
1 2 3 4 5 6 7 8 9 10 11 12 | mat = matrix(rnorm(80, 2), 8, 10)
mat = rbind(mat, matrix(rnorm(40, -2), 4, 10))
rownames(mat) = letters[1:12]
colnames(mat) = letters[1:10]
ht = Heatmap(mat)
ht_list = ht + ht
add_heatmap(ht_list, ht)
ha = HeatmapAnnotation(points = anno_points(1:12, which = "row"),
which = "row")
add_heatmap(ht_list, ha)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.