plotVolcano {rexposome}R 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), show.effect = FALSE)

Arguments

x

An ExWAS object which effect will be ploted.

p.value

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

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.


[Package rexposome version 1.4.0 Index]