R/ld.r
simulate_geno.Rd
Simulate genotypes from haplotypes
simulate_geno(nid, r, p1, p2)
Number of samples
Desired LD r
Freq 1
Freq 2
Matrix