pegas icon indicating copy to clipboard operation
pegas copied to clipboard

Testing HWE for X-chromosomal markers

Open cloudred20 opened this issue 4 years ago • 1 comments

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?

cloudred20 avatar May 26 '20 22:05 cloudred20

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

emmanuelparadis avatar May 27 '20 02:05 emmanuelparadis