-
Notifications
You must be signed in to change notification settings - Fork 6
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
CODE: normalise #130
CODE: normalise #130
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #130 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 8 8
Lines 330 341 +11
Branches 46 48 +2
=========================================
+ Hits 330 341 +11 ☔ View full report in Codecov by Sentry. |
Edit: Verification against ARG-Needle simulation will be added later. |
fa6eeff
to
70d6cd9
Compare
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.
LGTM - just need to rebase and drop the first commit
docs/quick-start.md
Outdated
## Normalise Phenotype | ||
|
||
The simulated phenotypes can be scaled by using the {func}`normalise_phenotypes` function. The function | ||
will first normalise the phenotype by subtrating the mean of the input phenotype from each |
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.
typo, subtracting
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.
I just fixed it now, and thank you for spotting this
Add `normalise_phenotype` function in tstrait.
Add
normalise_phenotype
function in tstrait. Statistical tests are also added toverification.py
to validate the normalized simulated tstrait phenotype against phenotypes that are generated by using the simulation framework which is used in the ARG-Needle paper (https://zenodo.org/records/7745746).