getCaseConBurdenPower: Calculate statistical power in a case control burden...

Description Usage Arguments Value Examples

Description

Calculate statistical power in a case control burden analysis.

Usage

1
getCaseConBurdenPower(R, N, r, q, f, p_thres_cc_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_cc_burden

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

Value

The statistical power in a case control cohort.

Examples

1
getCaseConBurdenPower(2.5, 20000, 1, 1.26, 0.2, 5e-5)

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