volcanoPlot.numeric | R Documentation |
Volcano plot for differential expression studies
## S3 method for class 'numeric'
volcanoPlot(
x,
y,
pval,
thr,
p = 1,
q = 1,
r = 0,
cex = c(0.2, 0.6),
col = c("#33333333", "#FF0000", "#FF666633"),
pch = 19,
ylim = NULL,
bounds = TRUE,
...
)
x |
A vector of fold changes (x axis of the volcano plot) |
y |
A vector of p-values (y axis of the volcano plot) |
pval |
A vector of p-values, of the same length as |
thr |
A numeric vector of length K, a JER controlling family, used to estimate post-hoc bounds |
p |
A numeric value, the p-value threshold under which genes are selected |
q |
A numeric value, the q-value (or FDR-adjusted p-value) threshold under which genes are selected |
r |
A numeric value, the absolute fold change above which genes are selected |
cex |
A numeric vector of length 2, the relative magnification factor for unselected ( |
col |
A vector of length 3 |
pch |
An integer or single character string specifying the plotting character, see |
ylim |
A numeric vector of length 2, the |
bounds |
A boolean value: should the post hoc bounds be displayed on the plot? Defaults to TRUE |
... |
Not used |
A Welch T-test of differential expression between the two categories
defined by categ
are applied for each gene using the
rowWelchTests
function, which also outputs the "fold change"
(mean difference in log scale) between the two categories.
The indices of selected genes (returned invisibly)
Volcano plot shiny app at https://shiny-iidea-sanssouci.apps.math.cnrs.fr/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.