plotPHE | R Documentation |
Function used to plot the association between the phentoypes in an ExposomePCA and the values for each component of the PCA in the same ExposomePCA
plotPHE(object, phenotype, exp2fac = 5)
object |
An object oc class ExposomePCA |
phenotype |
(optional) to select a set of phenotypes to be ploted. If not given all are used. |
exp2fac |
(default, |
An object of class ggplot
.
pca to compute PCA on an ExposomeSet, plotEXP to plot the correlation between exposures ans PCA, ExposomePCA as main class
data("exposome") epca <- pca(expo[3:7, 1:100]) plotPHE(epca)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.