Description Usage Arguments Value Examples
Calculates the power of rare variant locus discovery across a gene in cases and controls.
1 | getMultiVarLocusPower(f, AF, sum_var, R, K, N, r, p_thres_cc_locus_multi)
|
f |
Proportion of variants that mediate risk (numeric, 0-1). |
AF |
Allele frequency (numeric, 0-1). |
sum_var |
The sum of all heterozygous allele freuqencies (p * 1-p) for each replicates (numeric) |
R |
Relative Risk (numeric). |
K |
Prevalence of the disorder (numeric, 0-1). |
N |
Sample Size (integer). |
r |
Case:Control ratio (numeric). |
p_thres_cc_locus_multi |
p-value threshold after correction for multiple comparisons (numeric, 0-1). |
The statistical power (numeric, 0-1).
1 | getMultiVarLocusPower(0.2, 1e-4, 0.6, 2.5, 0.01, 20000, 1, 2.5e-06)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.