Skip to content

fix: use experiment-wide min/max for eFP colour scale instead of group#174

Merged
VinLau merged 1 commit intostagingfrom
fix/efp-colour-scale
Apr 16, 2026
Merged

fix: use experiment-wide min/max for eFP colour scale instead of group#174
VinLau merged 1 commit intostagingfrom
fix/efp-colour-scale

Conversation

@VinLau
Copy link
Copy Markdown
Collaborator

@VinLau VinLau commented Apr 8, 2026

This fix is directly on top of staging to fix the colouring issue where instead of pulling the experimental max, it was pulling the group-max for each tissue, often making things very red. Instead we want a global max. This also fixed the heat scale issue (sometimes doubling up and making weird glitches).

Technical:
Just fixed what is being passed and and sorted.

Before:
image

After:
image

@VinLau VinLau requested review from Yukthiw, bdls-jamal and mwkyuen April 8, 2026 17:55
Copy link
Copy Markdown
Collaborator

@Yukthiw Yukthiw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bdls-jamal
Copy link
Copy Markdown
Collaborator

LGTM as well

@VinLau
Copy link
Copy Markdown
Collaborator Author

VinLau commented Apr 16, 2026

Thanks; just a simple fix:

  • Passing data instead of group so it calculates off experimental max instead of group max
  • Indexing error (reading off wrong index [ data.viewData instead of sortedViewData ] for the eFPViewer

@VinLau VinLau merged commit 1d341f6 into staging Apr 16, 2026
4 checks passed
@VinLau VinLau deleted the fix/efp-colour-scale branch April 16, 2026 01:48
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.

3 participants