Initial commit to GitHub of R code to generate simulations of X chromosome GWAS data using the methodology in Hickey, P. F. & Bahlo, M. X chromosome association testing in genome wide association studies. Genet. Epidemiol. 35, 664–670 (2011).

As the filenames suggest, functions.r contain the functions necessary for simulation and example_simulation.r is an example of simulating data using a specific parameter combination and computing the power of each test on this simulated data. The two text files are the results of this analysis.
Merge branch 'master' of https://github.com/PeteHaitch/XGWAS