Skip to content
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

plots - gracefully handle log scale with rna_seq profiles that have negative numbers #3460

Merged
merged 1 commit into from
Oct 19, 2020

Conversation

adamabeshouse
Copy link
Contributor

@adamabeshouse adamabeshouse commented Oct 15, 2020

Fixes issue reported by @jjgao:
"Do you why the log scale checkbox is not checked but y-axis is log2? https://bit.ly/3k4iYTR"

This issue was due to the fact that some rna_seq profiles now have small negative values as a result of batch-correction. The solution is that we will not disable the log-scale checkbox for rna_seq profiles even if they have negative values. In addition, log scale rendering for mrna profiles now sets negative values to 0, and then renders log2(value+1)

image

Copy link
Member

@jjgao jjgao left a comment

Choose a reason for hiding this comment

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

Looks good from product.

…egative numbers

Signed-off-by: Adam Abeshouse <abeshoua@mskcc.org>
@adamabeshouse adamabeshouse merged commit 04db892 into cBioPortal:master Oct 19, 2020
@adamabeshouse adamabeshouse deleted the plots-log-fix branch October 19, 2020 18:52
@inodb inodb added the bug label Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants