Skip to content

Conversation

@davereinhart
Copy link
Contributor

@davereinhart davereinhart commented Jan 21, 2026

Improves protein structure viewer and heatmap with better coordinate handling, visual consistency, and selection mechanisms.

  • Bounds validation: track heatmap content min/max X values and prevent out-of-range selections, improved selection rectangle validation and positioning
  • Improved row selection using residue positions vs array indices
  • Heatmap position calculation for selection: Calculate positions using scales when nodes don't exist
  • Convert heatmap selections to proper domain values for protein visualization
  • Standardized colors: for heatmap - white backgrounds, light gray pivot colors; for protein structure viewer - white for residues without score data
  • Protein visualization now only available with mapped coordinates
  • Added z-index for showing protein structure viewer in full screen mode

…esponding protein visualization data based on residue position rather than index
…m null scores having no color and showing white background
…top of other elements when in full screen mode
… off-white pivot color used in color scale

This is to address the issue of heatmap cells with near-baseline scores appearing the same as those with no data. This also changes removes the background color on the heatmap controls element, instead using a top and bottom border, for less of a visual break between the content above and below the controls.
…value is present for current colorBy attribute
… selection rectangles when selection is out of range

Stores min and max X in heatmap content object, to use when selecting a column range is outside of these values. This can occur when selecting residues in a protein visualization that do not appear in the heatmap, and in these cases it will no longer create a selection rectangle rather than defaulting to the first column.
…ost-mapped HGVS coordinates or if scoreset is accession-based
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants