tef-methods: Function to get the Threshold for effective tests (TEF)

tefR 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)

isglobal-brge/rexposome documentation built on Feb. 4, 2023, 12:35 p.m.