volcano_plot | R Documentation |
Function that takes two numeric vectors (P-Value and fold change) and draws a volcano plot using ggplot2
volcano_plot( pval, fc, names, size = 2, tFC = 2, tPV = -log10(0.001), show.effect = FALSE )
pval |
numeric vector of P.Values |
fc |
numeric vector of fold change |
names |
character vector with the feature's names. |
size |
(default |
tFC |
(default |
tPV |
(default |
show.effect |
(default |
A ggplot
object
data(exposome) w1 <- extract(exwas(expo[1:20, ], asthma~1, family = "binomial")) volcano_plot(w1$pvalue, w1$effect, rownames(w1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.