cfad5f46e806d68168b04dad2891310a6c2dc8d6 jcasper Mon Mar 31 09:10:05 2025 -0700 More feature complete heatmaps (figure legend, color options), refs #31812 diff --git src/hg/lib/heatmap.as src/hg/lib/heatmap.as index 70069a2eaaf..7f797b0aa33 100644 --- src/hg/lib/heatmap.as +++ src/hg/lib/heatmap.as @@ -1,21 +1,23 @@ table bedHeatmap "Browser extensible data (12 fields) plus extensions for heatmap data." ( string chrom; "Chromosome (or contig, scaffold, etc.)" uint chromStart; "Start position in chromosome" uint chromEnd; "End position in chromosome" string name; "Name of item" uint score; "Score from 0-1000" char[1] strand; "+ or -" uint thickStart; "Start of where display should be thick (start codon)" uint thickEnd; "End of where display should be thick (stop codon)" uint reserved; "Used as itemRgb as of 2004-11-22" int blockCount; "Number of blocks" int[blockCount] blockSizes; "Comma separated list of block sizes" int[blockCount] chromStarts; "Start positions relative to chromStart" - int rowCount; "Number of heatmap rows" - string[rowCount] labels; "Comma separated list of row labels" - lstring scoreArray; "Comma-separated row-first list of scores, ,, indicates N/A" - lstring labelArray; "Comma-separated row-first list of mouseover labels, ,, indicates N/A" - lstring maveLink; "Link to MaveDB" + int _rowCount; "Number of heatmap rows" + string[_rowCount] _labels; "Comma separated list of row labels" + lstring _colorBounds; "Comma-separated list of threshold scores for colors" + lstring _colorValues; "Comma-separated list of colors, one for each threshold score" + lstring _scoreArray; "Comma-separated row-first list of scores, ,, indicates N/A" + lstring _labelArray; "Comma-separated row-first list of mouseover labels, ,, indicates N/A" + lstring legend; "Legend" )