invExWAS-methods: Testing the association between an exposure and a phenotype...

Description Usage Arguments Value See Also Examples

Description

The invExWAS method performs an "Exposome-Wide Association Study" (ExWAS) using the exposures in ExposomeSet and one of its phenotype. (modelling the exposures as response)

Usage

1
invExWAS(object, formula, filter, tef = TRUE, verbose = FALSE, warnings = TRUE)

Arguments

object

ExposomeSet that will be used for the ExWAS.

formula

formula indicating the test to be done. If any exposure is included it will be used as covariate. exwas metho will perform the test for each exposure.

filter

expression to be used to filter the individuals included into the test.

tef

(default TRUE) If TRUE it computed the effective number of tests and the threhold for the effective number of tests. Usually it needs imputed data.

verbose

(default FALSE) If set o true messages along the tests are shown.

warnings

(default TRUE) If set to FALSE warnings will not be displayed.

Value

An codeExWAS object with the result of the association study

See Also

extract to obtain a table with the result of the ExWAS, plotExwas to plot the results of the association

Examples

1
2
3
4
data(exposome)
w1 <- invExWAS(expo, ~BMI)
w2 <- invExWAS(expo, ~BMI + sex)
plotExwas(w1, w2)

rexposome documentation built on March 13, 2021, 2:01 a.m.