Heatmap: Function to create a heatmap object

Description Usage Arguments Value See Also Examples

Description

Function to create a heatmap object

Usage

1
2

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

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

mgperry/heatmaps documentation built on May 22, 2019, 8:53 p.m.