Create genotype matrix

make_geno(nid, nsnp, af)

Arguments

nid

Number of samples

nsnp

Number of SNPs

af

Allele frequency of all SNPs (all SNPs have the same allele frequency)

Value

Matrix of genotypes, rows = individuals, columns = snps