Skip to content

Heatmap Renderer

Tobias Paczian edited this page Mar 29, 2018 · 1 revision

image

Creates a heatmap-graph image.

options

  • width (int) - Number of pixels the resulting image is wide. Default is 700
  • height (int) - Number of pixels the resulting image is high. This will be adjusted to at least rows * min_cell_height + legend and tree heights. Default is 600.
  • tree_height (int) - Number of pixels the dendogram tree for the columns is high. Default is 50.
  • tree_width (int) - Number of pixels the dendogram tree for the rows is wide. Default is 50.
  • legend_height (int) - Number of pixels for the column names. Default is 250.
  • legend_width (int) - Number of pixels for the row names. Default is 250.
  • row_text_size (int) - Number of pixels of the row text font size. Default is 15.
  • col_text_size (int) - Number of pixels of the column text font size. Default is 15.
  • min_cell_height (int) - Minimum number of pixels a row is high. This may cause the defined height of the resulting image to be overwritten. Default is 19.
  • selectedRows (array of boolean) - Returns an array that has a value of true for all row indices that are currently selected.
  • showScale (boolean) - Indicates whether a scale should be drawn. Default is true.
  • colorScale (string) - Can be either red2green or yellow2blue and determines the color range. Default is red2green.
  • data (object) -
    • columns (array of string) - names of the columns
    • rows (array of string) - names of the rows
    • colindex (array of int) - 1 based indices of the original column order. This converts the original order (columns) into the one ordered by distance.
    • rowindex (array of int) - 1 based indices of the original row order. This converts the original order (rows) into the one ordered by distance.
    • coldend (array of array of float) - distance matrix for the columns
    • rowdend (array of array of float) - distance matrix for the rows
    • data (array of array of float) - normalized value matrix

Clone this wiki locally