plotEXP {rexposome} | R Documentation

## Plot correlation between exposures and PCA

### Description

Function used to plot the correlation between the exposures in an ExposomePCA and the values for each component of the PCA in the same ExposomePCA

### Usage

    plotEXP(object, exposure)

### Arguments

`object` | An object of class ExposomePCA
`exposure` | (optional) to select a set of exposures to be ploted. If not given all are used.

### Value

An object of class `ggplot`.

### See Also

pca to compute PCA on an ExposomeSet, plotPHE to plot the P-Value of association between phenotypes ans PCA, ExposomePCA as main class

### Examples

    data("exposome")
    epca <- pca(expo[3:7, 1:100])
    plotEXP(epca)

[Package rexposome version 1.12.4 Index]