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)

Arguments

geno

data.frame, reference panel SNPs

n

integer, samples size

Value

matrix of simulated genotypes