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

Two sided fishers test #10118

Closed

Conversation

Eric-Jiang1
Copy link

@Eric-Jiang1 Eric-Jiang1 commented Apr 5, 2023

Partially addresses #9943 (group comparison)

Describe changes proposed in this pull request:

  • Changed CalcFisherExactTest.java to use the two-sided Fisher's exact test value
  • Also changed OddsRatio.java, EnrichmentsAnalysisUtil.java to use the two-sided Fisher's exact test value
  • Documented reasoning behind change in CalcFisherExactTest.java and FisherExact.java so future developers know that in general we prefer the two-sided Fisher's exact test

Checks

  • Runs on heroku
  • Has tests or has a separate issue that describes the types of test that should be created. (Going to create a separate issue about testing, there's a lack of testing for FisherExact.java functions in general)
  • The commit log is comprehensible. It follows 7 rules of great commit messages. For most PRs a single commit should suffice, in some cases multiple topical commits can be useful. During review it is ok to see tiny commits (e.g. Fix reviewer comments), but right before the code gets merged to master or rc branch, any such commits should be squashed since they are useless to the other developers. Definitely avoid merge commits, use rebase instead.
  • Is this PR adding logic based on one or more clinical attributes? If yes, please make sure validation for this attribute is also present in the data validation / data loading layers (in backend repo) and documented in File-Formats Clinical data section! (This PR is not adding logic based on one or more clinical attributes)

Notify reviewers

Notifying team members on Slack.

@sonarcloud
Copy link

sonarcloud bot commented Apr 11, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@dippindots dippindots left a comment

Choose a reason for hiding this comment

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

@Eric-Jiang1 Thanks! This pr looks good to me.

@dippindots
Copy link
Member

@Eric-Jiang1 There is one related test that is failing. Could you try to update this test here: https://github.com/cBioPortal/cbioportal/actions/runs/4621739308/jobs/8271849517?pr=10118.

@sonarcloud
Copy link

sonarcloud bot commented Jun 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@alisman
Copy link
Contributor

alisman commented Jul 20, 2023

Redundant

@alisman alisman closed this Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants