Skip to content

HWE function updates #334

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

Merged
merged 2 commits into from
Oct 19, 2020
Merged

HWE function updates #334

merged 2 commits into from
Oct 19, 2020

Conversation

eric-czech
Copy link
Collaborator

Closes https://github.com/pystatgen/sgkit/issues/221.
Closes https://github.com/pystatgen/sgkit/issues/115.

The most unusual part of this function is that it is looking for some notion of ploidy and allele count without explicitly needing data related to either for the calculation it runs (it only requires genotype counts). This works by adding parameters to the function that only need to be set if the same values cannot be found in the dataset dimensions. That seemed like a reasonable approach to maximize safety -- let me know if you have other suggestions @ravwojdyla / @tomwhite.

@eric-czech eric-czech added the auto-merge Auto merge label for mergify test flight label Oct 19, 2020
@eric-czech
Copy link
Collaborator Author

Hm 2/3 times today that I've tried to use mergify nothing has happened after ~10 minutes. Merging manually.

@eric-czech eric-czech merged commit 2b22e80 into sgkit-dev:master Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Auto merge label for mergify test flight
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add optional ploidy flag to HWE test function Have HWE function use genotype counting function
2 participants