GenGeno {AllelicSeries} | R Documentation |
Generate Genotypes
GenGeno(n, snps, maf_range = c(0.005, 0.01), p_dmv = 0.33, p_ptv = 0.33)
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. |
List containing the (n x snps) genotype matrix "geno" and the (snps x 1) annotation vector "anno".