simGeno.Rd
The function takes in a reference genotype data and generates simulated genotypes from the LD structure. Modified from Nicholas Mancuso's twas_sim.
simGeno(geno, n)
geno | data.frame, reference panel SNPs |
---|---|
n | integer, samples size |
matrix of simulated genotypes