Description Usage Arguments Value Examples
View source: R/alleles_recessive_test.R
get a p-value that sums across different population possibilities
1 | sum_combo_tests(freqs, cohort_n, combos, enrich_function, autozygosity = 0)
|
freqs |
list of frequency estimates for each ExAC population. |
cohort_n |
list of number of probands in each population. |
combos |
a dataframe of the possible count combinations for a functional type. |
enrich_function |
function to test enrichment. |
autozygosity |
rate of autozygosity in the cohort being investigated. |
a p-value from testing for
1 2 3 4 5 | freqs = list("A"=list("lof"=0.1, "functional"=0.1),
"B"=list("lof"=0.1, "functional"=0.1))
cohort_n = list("A"=100, "B"=100)
combos = get_count_combinations(names(cohort_n), count=1)
sum_combo_tests(freqs, cohort_n, combos, biallelic_lof_enrichment)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.