Package ubic.gemma.core.visualization
Interface Heatmap
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ExpressionDataHeatmap
,SingleCellSparsityHeatmap
public interface Heatmap extends Serializable
Minimal interface for a labelled heatmap.- Author:
- poirigui
-
-
Field Summary
Fields Modifier and Type Field Description static org.jfree.chart.renderer.PaintScale
GEMMA_PAINT_SCALE
Borrowed from Heatmap.js
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BufferedImage
createImage()
BufferedImage
createImage(int cellSize)
Render a heatmap image.int
getCellSize()
Get the size of a cell in pixels.List<String>
getXLabels()
List<String>
getYLabels()
boolean
isTranspose()
Indicate if this heatmap is transposed.
-
-
-
Method Detail
-
createImage
default BufferedImage createImage()
-
createImage
BufferedImage createImage(int cellSize)
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.
-
isTranspose
boolean isTranspose()
Indicate if this heatmap is transposed.
-
-