Description Usage Arguments Value Examples
Calculates the power of rare variant locus discovery in cases and controls.
1 | getSingleVarLocusPower(f, AF, R, K, N, r, p_thres_cc_locus_single)
|
f |
Proportion of variants that mediate risk (numeric, 0-1). |
AF |
Allele frequency (numeric, 0-1). |
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_single |
p-value threshold after correction for multiple comparisons (numeric, 0-1). |
The statistical power (numeric, 0-1).
1 | getSingleVarLocusPower(0.2, 1e-4, 2.5, 0.01, 20000, 1, 1.666667e-11)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.