-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Treatment Response) Should we use color range from light to dark for oncoprint tracks where pivot threshold doesn't exist or pivot threshold out of range? #8004
Comments
@dippindots The value represented by the pivot threshold should be represented by white. The colors more extreme relative to the pivot threshold should be increasingly blue (below threshold) or red (above the threshold). I must say I do not understand the situation for the IC50. You say it has a pivot threshold of edit:
Does this play a role here? What values for sort order do you use? |
Hi @pvannierop, this is the profile data I found from database:
I see, here is the original code (I didn't change anything since |
@dippindots Ah i see now, your change only affects the gradient when 1) there is no pivotThreshold or 2) the observed values are all beyond the pivot threshold. I think we should separate these conditions. So, when no pivot is defined I am fine with small->large values mapping to white->blue. However, when there is a pivotThreshold set (an opinion what is on what is good and what is bad) the color gradient should takes this into account. Can we discuss this in a call? |
This is a follow up discussion of cBioPortal/cbioportal-frontend#3465.
Should we use color range from light to dark for oncoprint tracks where
pivot threshold
doesn't exist orpivot threshold
out of range? Currently, we treatTreatment Response
type as a special type and allow it use color range fromdark
tolight
, but is it possible or reasonable to merge this with other types?For example,
Treatment IC50
will be affected by this change, just curious that for this case (in the following screenshot), should we use color fromlight
todark
for the range from0 - 100
?In the above case,
pivot threshold
is set as0.000001
and data range has not include this value, so this is a case whichpivot threshold
out of range. Currently, the color range for it is fromdark
tolight
.For other cases which
pivot threshold
is valid and in data range, it will not change anything.CC: @pvannierop please feel free to comment on this ticket.
The text was updated successfully, but these errors were encountered: