GenGeno {AllelicSeries}R Documentation

Generate Genotypes

Description

Generate Genotypes

Usage

GenGeno(n, snps, maf_range = c(0.005, 0.01), p_dmv = 0.33, p_ptv = 0.33)

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.

Value

List containing the (n x snps) genotype matrix "geno" and the (snps x 1) annotation vector "anno".


[Package AllelicSeries version 0.0.4.1 Index]