scale: Return or set the scale in a Heatmap

Description Usage Arguments Value Examples

Description

Return or set the scale in a Heatmap

Usage

1
2
3
4
5
6
7
8
9
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

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

heatmaps documentation built on Nov. 8, 2020, 7:32 p.m.