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

Gene query limit supports case sets #2924

Merged
merged 1 commit into from
Dec 10, 2019

Conversation

Luke-Sikina
Copy link
Member

Fix cBioPortal/cbioportal#6898

Describe changes proposed in this pull request:

  • Issue:
    • Case sets were ignored when determining if a gene query
      was over the limit
    • This caused case sets that are a proper subset of their
      studies to limit the number of genes too strictly
  • Solution:
    • Consider all the ways the user could be restricting
      their sample set when creating a query

- Issue:
  - Case sets were ignored when determining if a gene query
  was over the limit
  - This caused case sets that are a proper subset of their
  studies to limit the number of genes too strictly
- Solution:
  - Consider all the ways the user could be restricting
  their sample set when creating a query
* 3. The number of samples in the selected sample list
* 4. The number of samples in the selected profiled samples result
*/
@computed get approxSampleCount(): number {
Copy link
Member Author

Choose a reason for hiding this comment

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

Even though this will be accurate the vast majority of the time, I felt it was important to label it as approximate given that it can be off if the user has a custom case list of patients that have more than one sample.

@alisman alisman merged commit 2c9ee1f into cBioPortal:master Dec 10, 2019
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.

Gene query restrictions always use total sample count
2 participants