analyse_inherited_enrichment: test for enrichment of inherited variants

Description Usage Arguments Value

View source: R/alleles_recessive_test.R

Description

test for enrichment of inherited variants

Usage

1
2
analyse_inherited_enrichment(counts, variants, cohort_n = 3072,
  autozygosity = 0, threshold = 0.01)

Arguments

counts

list of counts of biallelically inherited genotypes in a gene for: 1) biallelic_lof - inherited Lof/LoF variants, 2) lof_func - ninherited Lof/Func variants, 3) biallelic_func inherited func/func variants. 4) all all inherited LoF/LoF, LoF/func or func/func variants.

variants

dataframe of variants in gene

cohort_n

number of probands in population.

autozygosity

rate of autozygosity within the gene in the probands.

threshold

threshold for minor allele frequency, above which we exclude variants.

Value

a list of P values from LoF and functional tests.


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