nightingale-heatmap

Nightingale Heatmap

Usage no npm install needed!

<script type="module">
  import nightingaleHeatmap from 'https://cdn.skypack.dev/nightingale-heatmap';
</script>

README

nightingale-heatmap

Published on NPM

Nightingale Heatmap component is used to generate a heatmap visualisation.

Usage

The below example is using residues contacts data based on the distance.

<nightingale-heatmap></nightingale-heatmap>

API Reference

Properties

width: number

The width specifies the width of the heat map.

height: number

The height specifies the height of the heat map.

symmetric: boolean

It supports symmetric matrix.

data: Array

The data array is of the following structure.

[
  [1, 1, 0.2],
  [1, 2, 0.8],
  [2, 2, 0.5],
];