plotCorrelation {rexposome} | R Documentation

## It draws both circos or matrix plot for the correlation in ExposomeCorr

### Description

While the circos plot can be used to see the general behaviours intra and extra families of exposures, the matrix plot allows for a detailed view of the correlations within an `ExposomeCorr` object.

### Usage

    plotCorrelation(object, type = "circos", ...)

### Arguments

`object` | `ExposomeCorr` which correlations will be plotted.
`type` | (default `"circos"`) Can take both `"circos"` or `"matrix"`.
`...` | Arguments given to `corrplot` of package corrplot if a matrix is draw. Moreover extra arguments are can be passed to inner functions to draw both the matrix and the circos of correlations.

### Value

A `list` with different graphics parameters.

### See Also

correlation as a constructor for ExposomeCorr objects, pca to compute PCA on exposures

### Examples

    data("exposome")
    expo.c <- correlation(expo)
    plotCorrelation(expo.c, type="circos")
    plotCorrelation(expo.c, type="matrix")

[Package rexposome version 1.6.0 Index]