Update (15/3/2015) 

PURPOSE: R code that performs the likelihood ratio tests for Hardy-Weinberg equilibrium (HWE) at marker loci on X chromosome by using all the founders with the genotypes available from the input data file (the standard pedigree file).

Source R code: XHWE.txt

Sample pedigree file: ped.txt


[1] Xiao-Ping You, Qi-Lei Zou, Jian-Long Li and Ji-Yuan Zhou. Likelihood Ratio Tests for Hardy-Weinberg Equilibrium at Marker Loci on X Chromosome. Submitted.
[2] Gang Zheng, Jungnam Joo, Chun Zhang and Nancy L. Geller. Testing association for markers on the X chromosome. Genetic Epidemiology, 2007, 31(8): 834--843.