Learn R Programming

ComplexHeatmap (version 1.10.2)

show-Heatmap-method: Draw the single heatmap with default parameters

Description

Draw the single heatmap with default parameters

Usage

## S3 method for class 'Heatmap':
show(object)

Arguments

object
a Heatmap-class object.

Value

  • This function returns no value.

Details

Actually it calls draw,Heatmap-method, but only with default parameters. If users want to customize the heatmap, they can pass parameters directly to draw,Heatmap-method.

Examples

Run this code
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
draw(ht, heatmap_legend_side = "left")

Run the code above in your browser using DataLab