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

Description Usage Arguments Value See Also Examples

Description

The mexwas method performs an "Multi Exposome-Wide Association Study" (m-ExWAS) using the exposures in ExposomeSet and one of its phenotype. It uses the packages glmnet and partDSA.

Usage

1
mexwas(object, phenotype, family, warnings = TRUE)

Arguments

object

ExposomeSet that will be used for the ExWAS.

phenotype

Target phenotype used for the study. If missing all the phenotypes in the ExposomeSet will be used.

family

It must decrive the nature of the outcome. Can take values "gaussian", "binomial", "poisson", "multinomial", "cox" or "mgaussian".

warnings

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

Value

Returns an object of class mExWAS

See Also

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

Examples

1
2
data("exposome")
wt <- mexwas(expo[3:7, 1:100], phenotype = "asthma", family = "binomial")

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