Code supplement for "Simple models of non-random mating and environmental transmission bias standard human genetics statistical methods."
ascertainment_sims.py: family GWAS simulations with ascertainmentey_sim.py: education years case study simulationgeneral_simulations.py: primary simulations incorporating xAM, VT, and/or GxEgwas_pwr_t1e.r: computations of on- / off-target assocation power / type i error ratesphenotype_defn_supplement.r: additional phenotype definitionspsych_cors.csv: inputs for psychiatric disorder simulationsnhird_cca.r: canonical correlation analysis of NHIRD phenotypesnhird_cors.csv: inputs for NHIRD ccapsychiatric_sims.py: simulations involving psychiatric disorderssibdiff.nb: Mathematica notebook for computation of expected sibling-difference GWAS estimates