View source: R/generate_data.R
GenGenoMat | R Documentation |
Generate genotypes for n
subject at snps
variants in linkage
equilibrium. Genotypes are generated such that the MAC is always >= 1.
GenGenoMat(n, snps, maf_range = c(0.001, 0.005))
n |
Sample size. |
snps |
Number of SNP in the gene. |
maf_range |
Range of minor allele frequencies: c(MIN, MAX). |
(n x snps) numeric matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.