GenGeno: Generate Genotypes
Description
Generate Genotypes
Usage
GenGeno(n, snps, maf_range = c(0.005, 0.01), p_dmv = 0.33, p_ptv = 0.33)
Value
List containing the (n x snps) genotype matrix "geno" and the
(snps x 1) annotation vector "anno".
Arguments
- n
Sample size.
- snps
Number of SNP in the gene.
- maf_range
Range of minor allele frequencies: c(MIN, MAX).
- p_dmv
Frequency of deleterious missense variants.
- p_ptv
Frequency of protein truncating variants.