plotEffect | R Documentation |
ExWAS
objectThis function draws a sort of manhattan plots using the p-value of the
association of the exposures with phenotypes of an ExWAS
object.
plotEffect(x, y, select, labels, xlab, ylab)
x |
An |
y |
(optional) Another |
select |
(optional) Character with exposures to be shown. |
labels |
(optional) Character vector with the labels for each exposure. It must be labeled vector. |
xlab |
(optional) Label for X-axis. |
ylab |
(optional) Label for Y-axis. |
An object of class ggplot
.
exwas as a constructor for ExWAS objects, extract to obtain a table with the result of the ExWAS
data(exposome) w1 <- exwas(expo[1:5, ], asthma~1, family = "binomial") w2 <- exwas(expo[1:5, ], asthma~sex+age, family = "binomial") plotEffect(w1, w2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.