draw-Heatmap-method {ComplexHeatmap} | R Documentation |
Draw a single heatmap
## S4 method for signature 'Heatmap' draw(object, internal = FALSE, test = FALSE, ...)
object |
a |
internal |
only used inside the calling of |
test |
only for testing |
... |
pass to |
The function creates a HeatmapList-class
object which only contains a single heatmap
and call draw,HeatmapList-method
to make the final heatmap.
This function returns no value.
Zuguang Gu <z.gu@dkfz.de>
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) draw(ht, heatmap_legend_side = "left")