volcano_plot {MultiDataSet} | 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.labels = TRUE, 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.labels |
(default |
show.effect |
(default |
A ggplot
object
data(rset) w1 <- getAssociation(rset, rid = 1, fNames = NULL) volcano_plot(w1$P.Value, w1$logFC, rownames(w1))