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 Details

    • GEMMA_PAINT_SCALE

      static final org.jfree.chart.renderer.PaintScale GEMMA_PAINT_SCALE
      Borrowed from Heatmap.js
  • Method Details

    • 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.

    • getXLabels

      List<String> getXLabels()
    • getYLabels

      List<String> getYLabels()
    • isTranspose

      boolean isTranspose()
      Indicate if this heatmap is transposed.