Skip to content

eFP (tissue) views colouring and heat scale do not align with ePlant2 #144

@VinLau

Description

@VinLau

The eFP views seem to have incorrect colouring where the colouring of tissues is based on the group maxima/minima versus the global (i.e. entire view) maxima values. This makes it such that the colouring is very different to (current) ePlant2.

To reproduce/see on ePlant2:

  1. Go to https://bar.utoronto.ca/eplant
  2. Enter a gene such as ABI3
  3. Go to the Tissue & Experiment Viewer
  4. Explore some views and look at their values, along the colour scale (see below):

image

Note the current view on ePlant in development for the same gene (ABI3):

image

Note that the value of '21.53' is the same on the tooltip however the colouring is vastly different. It should be closer to yellow than red as the maximum for the view is 120.64. Also the SD is slightly off.

The bottom-left heat scale is off.

We will need to refactor how the getColor function (svg.tsx) works and/or potentially how to parses the XML to include global maximum.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions