Skip to content

Horizontal and vertical heatmaps

Peter Kerpedjiev edited this page Mar 22, 2017 · 3 revisions

The horizontal heatmap track is similar to the regular heatmap but it is rotated 45 degrees so that the diagonal lies along the x-axis. While it shows 2D data, this view is technically a 1D track and can be added to the top, left, right, or center track regions.

In the top and bottom configurations, the default is for the diagonal to be facing down. In the left and right configurations, the default is for the diagonal to face right. This default can be changed by selecting yes on the Flip heatmap option.

Example config

  {
    "tilesetUid": "CQMd6V_cRw6iCI_-Unl3PQ",
    "server": "http://higlass.io/api/v1",
    "position": "center",
    "type": "horizontal-heatmap",
    "height": 120,
    "options": {
      "maxZoom": null,
      "labelPosition": "bottomRight",
      "colorRange": [
        "#FFFFFF","#F8E71C","#F5A623","#D0021B"
      ],
    }
  }

Options

Horizontal and vertical heatmaps have the same options as regular heatmaps. See the Heatmap section above for more information.