getDeNovoBurdenPower: Calculate statistical power in a de novo burden analysis.

Description Usage Arguments Value Examples

Description

Calculate statistical power in a de novo burden analysis.

Usage

1
getDeNovoBurdenPower(R, N, r, q, f, p_thres_denovo_burden)

Arguments

R

Relative Risk (numeric).

N

Sample Size (integer).

r

Case:Control ratio (numeric).

q

Total number of variants within selected regions per control individual (numeric).

f

Percent of variants within selected regions that mediate disease risk (numeric).

p_thres_denovo_burden

p-value threshold after correction for multiple comparisons (numeric, 0-1).

Value

The statistical power in a de novo cohort.

Examples

1
getDeNovoBurdenPower(25, 5000, 1, 0.0249, 0.2, 5e-5)

stephansanders/wgsPowerTest documentation built on May 4, 2019, 1:23 p.m.