| Heatmap-class {heatmaps} | R Documentation |
An S4 class to represent a heatmap
imageA numeric Matrix
scaleA length-2 vector
coordsA length-2 integer vector
nseqAn integer
labelA character vector
metadataA list containing arbitrary metadata
A class used to represent a heatmap in a simple, self-contained way
Slots can be accessed and set using getters and setters with the same name.
CoverageHeatmap PatternHeatmap plotHeatmap plotHeatmapMeta
data(HeatmapExamples)
hm = new("Heatmap",
image=mat,
scale=c(0,max(mat)),
coords=c(-100L, 100L),
nseq=1000L,
label="Test",
metadata=list())
# or use the constructor:
hm = Heatmap(mat, coords=c(-100, 100), label="Test")