plotHistogram-methods: It draws a histogram for each exposure in an ExposomeSet

Description Usage Arguments Value See Also Examples

Description

It draws a grid with an histogram per exposure in an ExposomeSet.

Usage

1
plotHistogram(x, select, density = TRUE, show.trans = FALSE)

Arguments

x

ExposomeSet which exposome will be plotted.

select

Name fo the exposure to be plotted. If missing, all exposures will be used.

density

(default TRUE) If TRUE a density plot is drawn overlapping the histogram.

show.trans

(default FALSE) If set to TRUE it will draw a panel of auxiliar plots with the continuous exposure transformed with log and sqrt.

Value

A ggplot object.

See Also

plotFamily to draw the profile of a family of exposures, plotMissings to plot the missing data from an ExposomeSet

Examples

1
2
data("exposome")
plotHistogram(expo[1:3, ], select = "ldde_lip")

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