metadata {heatmaps} | R Documentation

## Return or set the metadata in a Heatmap

### Description

Store arbitrary metadata in a list, if desired.

### Usage

    metadata(x)

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

    metadata(x) <- value

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

### Arguments

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

### Value

list, value of hm@metadata

### Examples

    data(HeatmapExamples)
    metadata(hm) = list(replicate=1, cell_line="ESC")
    metadata(hm)$replicate == 1

[Package heatmaps version 1.16.0 Index]