GenGenoMat: Generate Genotype Matrix
Description
Generate genotypes for n
subject at snps
variants in linkage
equilibrium. Genotypes are generated such that the MAC is always >= 1.
Usage
GenGenoMat(n, snps, maf_range = c(0.001, 0.005))
Value
(n x snps) numeric matrix.
Arguments
- n
Sample size.
- snps
Number of SNP in the gene.
- maf_range
Range of minor allele frequencies: c(MIN, MAX).