genomic_inflation: Genomic inflation factor

Description Usage Arguments 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

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 July 30, 2019, 5:21 p.m.