exwas | R Documentation |
The exwas
method performs an "Exposome-Wide Association Study" (ExWAS)
using the exposures in ExposomeSet and one of its phenotype.
exwas( object, formula, filter, family, ..., baselevels, tef = TRUE, verbose = FALSE, warnings = TRUE, robust = FALSE )
object |
|
formula |
|
filter |
|
family |
Family of the distribution followed by the health outcome to be tested (gaussian, bionomal, ... check glm). |
... |
NOT USED |
baselevels |
(optional) If set, must be a labeled vector with the default base level for categorical exposures. |
tef |
(default |
verbose |
(default |
warnings |
(default |
An codeExWAS object with the result of the association study
An Environment-Wide Association Study (ExWAS) on Type 2 Diabetes Mellitus. Chirag J. Patel, Jayanta Bhattacharya, Atul J. Butte. May 20, 2010 Plos One
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.
extract to obtain a table with the result of the ExWAS, plotExwas to plot the results of the ExWAS
data(exposome) w1 <- exwas(expo[1:5, ], asthma~1, family = "binomial") w2 <- exwas(expo[1:5, ], asthma~sex+age, family = "binomial") w3 <- exwas(expo[1:5, ], asthma~age, family = "binomial", filter = sex=="boy")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.