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

Testing HWE for X-chromosomal markers #47

Open
cloudred20 opened this issue May 26, 2020 · 1 comment
Open

Testing HWE for X-chromosomal markers #47

cloudred20 opened this issue May 26, 2020 · 1 comment

Comments

@cloudred20
Copy link

Hi,
Can the "hw.test" function of "pegas" package be used for testing HWE for X-chromosomal markers, similar to "HWChisq" of "HardyWeinberg" package? If yes, then how to input the data for males?

@emmanuelparadis
Copy link
Owner

Hi Megha,

Very good question! AFAIK, hw.test cannot analyse X-linked loci because the formula used in this function assumes all individuals are diploid. If there is another package that implements HWE-test for X-linked loci, I suggest you go ahead with it. I'll have a look at this issue for a future release of pegas -- or if someone has an idea/code to implement it.
Best, Emmanuel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants