-
Notifications
You must be signed in to change notification settings - Fork 303
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
Only allow expression profiles from tcga pancan in plots tab #4409
Conversation
} else { | ||
return profiles.filter( | ||
p => | ||
p.molecularAlterationType != |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is !=
on purpose?
p.molecularAlterationType != | |
p.molecularAlterationType !== |
2cba915
to
e368d1b
Compare
return profiles.filter( | ||
p => | ||
![ | ||
AlterationTypeConstants.MRNA_EXPRESSION, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@inodb i think it's best to exclude rather than include because if we introduce new profiles they will inadvertantly be excluded. Of course, this is temporary. If we're serious about this we actually need to model this in data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good
AlterationTypeConstants.MICRO_RNA_EXPRESSION, | ||
AlterationTypeConstants.PROTEIN_LEVEL, | ||
AlterationTypeConstants.RNA_EXPRESSION, | ||
AlterationTypeConstants.MICRO_RNA_EXPRESSION, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the last AlterationTypeConstants.MICRO_RNA_EXPRESSION
is duplicate
e368d1b
to
76b940e
Compare
Co-authored-by: Onur Sumer <s.onur.sumer@gmail.com>
…tal#4409) * Do not allow expression profiles in results view unless studies are "comparable" * Fix if/else condition Co-authored-by: Onur Sumer <s.onur.sumer@gmail.com> Co-authored-by: Onur Sumer <s.onur.sumer@gmail.com>
Filter out expression profiles when rule for sharing profiles is not met. This is for multi-study queries in which expression data is not normalized and shouldn't be compared (unless part of same group)