all_enrichment: test enrichment of inherited biallelic LoF, compound...

Description Usage Arguments Value Examples

View source: R/alleles_recessive_test.R

Description

test enrichment of inherited biallelic LoF, compound heterozygous LoF/Func or biallelic Func

Usage

1
all_enrichment(freq, count, cohort_n, autozygosity = 0)

Arguments

freq

list of cumulative frequencies of variation in a population for rare LoF variants, and rare functional variants.

count

number of probands with inherited variants in the gene.

cohort_n

number of probands in population.

autozygosity

rate of autozygosity in the cohort being investigated.

Value

P-value from testing for biallelic LoF, Lof/Func and biallelic Func variants.

Examples

1
2
3
freq = list(lof=0.001, functional=0.1)
count = 3
lof_func_enrichment(freq, count, 1000)

jeremymcrae/recessiveStats documentation built on May 19, 2019, 5:08 a.m.