powered by
## S3 method for class 'Heatmap': draw(object, internal = FALSE, test = FALSE, ...)
Heatmap-class
draw,HeatmapList-method
HeatmapList-class
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")
Run the code above in your browser using DataLab