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

Add a helper function to calculate and filter pchisq values #111

Closed
wants to merge 1 commit into from

Conversation

amstilp
Copy link
Contributor

@amstilp amstilp commented Mar 19, 2024

Filter p-values based on the Machine$double.xmin value: if a p-value calculated with pchisq is smaller than Machine$double.xmin, then set it to the double.xmin value.

This should prevent pval=0 situations.

Closes #110

This function sets all p-values calculated with pchisq that are
less than the Machine xmin value to the xmin value.
@amstilp
Copy link
Contributor Author

amstilp commented Mar 19, 2024

Closing - branched off of wrong branch

@amstilp amstilp closed this Mar 19, 2024
@amstilp amstilp deleted the feature/filter-extreme-p-values branch March 19, 2024 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filter extreme p-values using .Machine$double.xmin
1 participant