Package ubic.gemma.core.visualization
Interface Heatmap
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ExpressionDataHeatmap
,SingleCellSparsityHeatmap
Minimal interface for a labelled heatmap.
- Author:
- poirigui
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.jfree.chart.renderer.PaintScale
Borrowed from Heatmap.js -
Method Summary
Modifier and TypeMethodDescriptiondefault BufferedImage
createImage
(int cellSize) Render a heatmap image.int
Get the size of a cell in pixels.boolean
Indicate if this heatmap is transposed.
-
Field Details
-
GEMMA_PAINT_SCALE
static final org.jfree.chart.renderer.PaintScale GEMMA_PAINT_SCALEBorrowed from Heatmap.js
-
-
Method Details
-
createImage
-
createImage
Render a heatmap image.- Parameters:
cellSize
- size in pixel to use for individual cells in the heatmap
-
getCellSize
int getCellSize()Get the size of a cell in pixels.Use this to adjust how labels are displayed.
-
getXLabels
-
getYLabels
-
isTranspose
boolean isTranspose()Indicate if this heatmap is transposed.
-