plotVolcano-methods: Function to draw a plot of the pvalues stored in an 'ExWAS'...

plotVolcanoR Documentation

Function to draw a plot of the pvalues stored in an ExWAS object

Description

This function draws a sort of manhattan plots using the p-value of the association of the exposures with phenotypes of an ExWAS object.

Usage

plotVolcano(x, p.value = -log10(0.001), labels, show.effect = FALSE)

Arguments

x

An ExWAS object which effect will be ploted.

p.value

(default "-log10(0.001)") Threshold for P-Value.

labels

(optional) Character vector with the labels for each exposure. It must be labeled vector.

show.effect

(default FALSE) Applyes an exponential transformation on the effects of the exposures.

Value

An object of class ggplot.

See Also

exwas as a constructor for ExWAS objects, extract to obtain a table with the result of the ExWAS, plotEffect to see or compare effects of one or two models.


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