label {heatmaps} | R Documentation

## Return or set the label in a Heatmap

### Description

Return or set the label in a Heatmap

### Usage

    label(x)

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

    label(x) <- value

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

### Arguments

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

### Value

character, value of hm@label

### Examples

    data(HeatmapExamples)
    label(hm) = "NewLabel"
    label(hm) # "NewLabel"

[Package heatmaps version 1.10.0 Index]