genomic_inflation: Genomic inflation factor

Description Usage Arguments Details Value Examples

View source: R/genomic_inflation.R

Description

Genomic inflation factor

Usage

1

Arguments

Z

Numeric vector of arbitrary length. Z-statistics (sign does not matter)

P

Numeric vector of arbitrary length. Alternatively, the P-values can be provided, which will be transformed into Z-statistics

Details

see

Value

value

Examples

1
2
3
4
data("giant")
genomic_inflation(Z = giant$BETA/giant$SE)
## should give the same as
genomic_inflation(P = giant$P)

sinarueeger/GWAS.utils documentation built on Dec. 2, 2018, 12:17 p.m.