plotEXP-methods: Plot correlation between exposures and PCA

plotEXPR 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)

isglobal-brge/rexposome documentation built on Feb. 4, 2023, 12:35 p.m.