plotPHE-methods: Plot association score between phentoypes and PCA

Description Usage Arguments Value See Also Examples

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

1
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

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

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