show-Heatmap-method {ComplexHeatmap} | R Documentation

## Draw the single heatmap with default parameters

### Description

Draw the single heatmap with default parameters

### Usage

    ## S4 method for signature 'Heatmap'
    show(object)

### Arguments

`object` | a `Heatmap-class` object.

### 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`.

### Value

This function returns no value.

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    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")

[Package ComplexHeatmap version 1.20.0 Index]