plotPHE {rexposome} | R Documentation

## Plot association score between phentoypes and PCA

### Description

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

### Usage

    plotPHE(object, phenotype, exp2fac = 5)

### Arguments

`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, `5`) Threshold to considere a phentoype categorical (less or equal to) or continuous (more than).

### Value

An object of class `ggplot`.

### See Also

pca to compute PCA on an ExposomeSet, plotEXP to plot the correlation between exposures ans PCA, ExposomePCA as main class

### Examples

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

[Package rexposome version 1.12.4 Index]