scale {heatmaps} | R Documentation

## Return or set the scale in a Heatmap

### Description

Return or set the scale in a Heatmap

### Usage

    scale(x)

    ## S4 method for signature 'Heatmap'
    scale(x)

    scale(x) <- value

    ## S4 replacement method for signature 'Heatmap'
    scale(x) <- value

### Arguments

`x` | A heatmap
`value` | Replacement value

### Value

numeric, length 2, the value of hm@scale

### Examples

    data(HeatmapExamples)
    scale(hm) = c(-1000, 1000)

[Package heatmaps version 1.10.0 Index]