tef {rexposome}R Documentation

Function to get the Threshold for effective tests (TEF)

Description

Function to get the Threshold for effective tests (TEF)

Usage

tef(object)

Arguments

object

An ExWAS object

Value

A number indicating the efective threshold.

References

Evaluating the effective numbers of independent tests and significant p-value thresholds in commercial genotyping arrays and public imputation reference datasets. Miao-Xin Li, Juilian M. Y. Yeung, Stacey S. Cherny and Pak C. Sham. May 2012 Hum Genet.

See Also

exwas as a constructor for ExWAS objects

Examples

data(exposome)
w1 <- exwas(expo[1:5, ], asthma~1, family = "binomial")
w2 <- exwas(expo[1:5, ], asthma~sex+age, family = "binomial")
tef(w1)
tef(w2)

[Package rexposome version 1.16.0 Index]