Class: PValue

jheatmap.decorators.PValue

new PValue

pValue decorator

Parameters:
Name Type Argument Default Description
p.cutoff number <optional>
0.05 Significance cutoff.
p.nullColor Array <optional>
[255,255,255] NaN values color [r,g,b]
Source:
  • ../js/jheatmap-1.0.0.js, line 1096
Example
new jheatmap.decorators.PValue({ cutoff: 0.01 });

Methods

toColor

Convert a value to a color

Parameters:
Name Type Description
value The cell value
Source:
  • ../js/jheatmap-1.0.0.js, line 1107
Returns:
The corresponding color string definition.