GenGeno {AllelicSeries} | R Documentation |
Generate Genotypes
Description
Generates genotypes in linkage equilibrium with accompanying annotations.
Usage
GenGeno(n, snps, maf_range = c(0.001, 0.005), prop_anno = c(0.5, 0.4, 0.1))
Arguments
n |
Sample size. |
snps |
Number of SNP in the gene. |
maf_range |
Range of minor allele frequencies: c(MIN, MAX). |
prop_anno |
Proportions of annotations in each category. Length should equal the number of annotation categories. Default of c(0.5, 0.4, 0.1) is based on the approximate empirical frequencies of BMVs, DMVs, and PTVs. |
Value
List containing the (n x snps) genotype matrix "geno" and the (snps x 1) annotation vector "anno".
[Package AllelicSeries version 0.1.1.1 Index]