Heatmap-class {heatmaps} | R Documentation |
An S4 class to represent a heatmap
image
A numeric Matrix
scale
A length-2 vector
coords
A length-2 integer vector
nseq
An integer
label
A character vector
metadata
A 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")