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

Improve numerical clinical data filter #10951

Conversation

onursumer
Copy link
Member

@onursumer onursumer commented Aug 20, 2024

Fix cBioPortal/rfc80-team#32
Fixes cBioPortal/rfc80-team#44

Handle numerical clinical data values such as <18, >90, <=3, >=9 when range filtering.

This PR also improves the numerical value matching. Previously only positive integers could be matched, with this PR negative values as well as decimal numbers are also matched.

@onursumer onursumer changed the title improve numerical clinical data filter Improve numerical clinical data filter Aug 20, 2024
@onursumer onursumer force-pushed the improve-numerical-clinical-data-filter branch from 77764d6 to 24253fb Compare August 20, 2024 16:13
'>6' to 6.00..1...
'<6' to 5.99..9...
-->
<sql id="castStringValueToFloat">
Copy link
Contributor

Choose a reason for hiding this comment

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

@onursumer @haynescd if it turns out this is a performance killer, we could precompute this right?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yea, you could do this when you create the table

@onursumer onursumer force-pushed the improve-numerical-clinical-data-filter branch from 24253fb to 14626b2 Compare August 21, 2024 17:26
@onursumer onursumer force-pushed the improve-numerical-clinical-data-filter branch from 14626b2 to b628e38 Compare August 23, 2024 20:42
@alisman alisman added the RFC80 label Aug 26, 2024
Copy link

sonarcloud bot commented Aug 27, 2024

@alisman alisman merged commit f456bd5 into cBioPortal:demo-rfc80-poc Aug 27, 2024
8 of 14 checks passed
@onursumer onursumer deleted the improve-numerical-clinical-data-filter branch August 27, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants