Description Usage Arguments Value Author(s)
Generates two alleles and combines them to form the genotype of a SNP under a binary or additive genetic model.
1  | sim.geno.data(num.obs = NULL, geno.model = NULL, MAF = NULL)
 | 
num.obs | 
 number of observations to generate.  | 
geno.model | 
 genetic model; binary=0 and additive=1.  | 
MAF | 
 minor allele frequency of the SNP (in ESPRESSO this is the frequency of the 'at risk' allele)  | 
a dataframe that contains the following variables:
allele.A major allele allele.B minor allele
genotype genotype
Gaye A.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.