Heatmap {heatmaps} | R Documentation

## Function to create a heatmap object

### Description

Function to create a heatmap object

### Usage

    Heatmap(image, coords = NULL, label = "", nseq = NULL, scale = NULL,
      metadata = list())

### Arguments

`image` | A numeric Matrix
`coords` | A length-2 integer vector
`label` | A character vector
`nseq` | An integer
`scale` | A length-2 vector
`metadata` | A list containing arbitrary metadata Using this function avoids calling 'new' directly or manually setting coords and nseq to integers. Other constructors exist for creating heatmaps from data, rather than a raw matrix.

### Value

A Heatmap object

### See Also

PatternHeatmap CoverageHeatmap PWMScanHeatmap

### Examples

    data(HeatmapExamples)
    hm = Heatmap(mat, coords=c(-100, 100), label="Test")

[Package heatmaps version 1.10.0 Index]