-
Notifications
You must be signed in to change notification settings - Fork 1
added checks, ttest and wilcoxon #9
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
Conversation
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.
Pull request overview
This pull request adds two statistical testing methods for differential abundance analysis: Wilcoxon rank-sum test and t-test (Welch's and Student's variants). The implementation includes both getter functions that return test results and adder functions that store results directly in the object's metadata.
Key changes:
- Added
getWilcoxon()/addWilcoxon()for non-parametric testing - Added
getTtest()/addTtest()for parametric testing - Created unified internal DAA engine with error handling and p-value adjustment
- Comprehensive test suite with validation, robustness, and paired data tests
Reviewed changes
Copilot reviewed 16 out of 17 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| vignettes/daa.Rmd | Simplified vignette with examples of the new Wilcoxon and t-test methods |
| README.md / README.Rmd | Updated documentation to describe available methods and usage |
| R/AllGenerics.R | Defines S4 generics for the new statistical testing functions |
| R/utils.R | Implements input validation, data extraction, and unified DAA engine |
| R/getWilcoxon.R | Implements Wilcoxon rank-sum test with S4 methods |
| R/getTtest.R | Implements t-test with S4 methods and var.equal parameter |
| tests/testthat/test-*.R | Comprehensive test coverage for utility functions and both statistical methods |
| DESCRIPTION | Updated dependencies and RoxygenNote version |
| NAMESPACE | Auto-generated exports for new functions |
| man/*.Rd | Auto-generated documentation files |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.