mExWAS {rexposome} | R Documentation

## Class mExWAS

### Description

Class `mExWAS` obtained from mexwas method of an ExposomeSet object, contains the result of testing the multiple models of exposures of an `ExposomeSet` to a set of given phenotypes. "mExWAS" is the #' acronym of "Multivariate Exposome-Wide Association Study".

### Usage

    ## S4 method for signature 'mExWAS,ANY'
    plot(x, y, ...)

    ## S4 method for signature 'mExWAS'
    extract(object, type = "test", sort = TRUE)

    ## S4 method for signature 'mExWAS'
    plotExwas(object, ..., subtitles, color, exp.order,
      show.effective = TRUE)

### Arguments

`x` | Object of class `mExWAS`
`y` | NOT USED
`...` | Other used arguments.
`object` | object of class `mExWAS`.
`type` | (default `"test"`). Can take `"test"` or `"raw"` to obtain a `data.frame` of `glmnet` result.
`sort` | NOT USED
`subtitles` | NOT USED
`color` | NOT USED
`exp.order` | NOT USED
`show.effective` | NOT USED

### Value

An object of class `mExWAS`

### Methods (by generic)

- `plot`: Wrapper for `plotExwas` method.

- `extract`: Method to obtain the generated model

- `plotExwas`: Method to plot a heap-map with the coeficient of each exposure

### Slots

`result`

  klist with the fitted model and result.

`phenotype`

  Name of the phenotype used in the analysys.

`description`

  feature data from original ExposomeSet.

### See Also

`mexwas` to perform a Multivariate Exposome-Wide Association Study and to create a `mExWAS`, `exwas` to perform an Exposome-Wide Association Study and to create an `ExWAS`

[Package rexposome version 1.2.0 Index]