Heatmap: Function to create a heatmap object

Description Usage Arguments Value See Also Examples

View source: R/Heatmap-class.R

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")

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