plotEXP-methods: Plot correlation between exposures and PCA

Description Usage Arguments Value See Also Examples

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

1
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

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

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