Description Usage Arguments Details Value Author(s)
This function draws a volcano plot, a graph that allows to simultaneously assess the statistical and biological significance of differential expression for the given genes.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | ## S4 method for signature 'tTest,missing,missing'
volcanoPlot(
x,
y,
pointLabels,
topPValues = 10,
topLogRatios = 10,
smoothScatter = TRUE,
xlab = NULL,
ylab = NULL,
main = NULL,
sub = NULL,
newpage = TRUE,
additionalPointsToLabel = NULL,
additionalLabelColor = "red"
)
## S4 method for signature 'tTest,missing,character'
volcanoPlot(
x,
y,
pointLabels,
topPValues = 10,
topLogRatios = 10,
smoothScatter = TRUE,
xlab = NULL,
ylab = NULL,
main = NULL,
sub = NULL,
newpage = TRUE,
additionalPointsToLabel = NULL,
additionalLabelColor = "red"
)
## S4 method for signature 'limma,missing,missing'
volcanoPlot(
x,
y,
pointLabels,
topPValues = 10,
topLogRatios = 10,
smoothScatter = TRUE,
xlab = NULL,
ylab = NULL,
main = NULL,
sub = NULL,
newpage = TRUE,
additionalPointsToLabel = NULL,
additionalLabelColor = "red"
)
## S4 method for signature 'limma,missing,character'
volcanoPlot(
x,
y,
pointLabels,
topPValues = 10,
topLogRatios = 10,
smoothScatter = TRUE,
xlab = NULL,
ylab = NULL,
main = NULL,
sub = NULL,
newpage = TRUE,
additionalPointsToLabel = NULL,
additionalLabelColor = "red"
)
## S4 method for signature 'numeric,numeric,character'
volcanoPlot(
x,
y,
pointLabels,
topPValues = 10,
topLogRatios = 10,
smoothScatter = TRUE,
xlab = NULL,
ylab = NULL,
main = NULL,
sub = NULL,
newpage = TRUE,
additionalPointsToLabel = NULL,
additionalLabelColor = "red"
)
## S4 method for signature 'numeric,numeric,missing'
volcanoPlot(
x,
y,
pointLabels,
topPValues = 10,
topLogRatios = 10,
smoothScatter = TRUE,
xlab = NULL,
ylab = NULL,
main = NULL,
sub = NULL,
newpage = TRUE,
additionalPointsToLabel = NULL,
additionalLabelColor = "red"
)
|
x |
either an object of class 'tTest', of class 'limma' or a numeric vector of log ratios, i.e. the log of the fold change values; the names of the logRatio vector will be used to display the names of the most interesting gene |
y |
should not be given if an object of class 'tTest' or 'limma' is passed as argument 'x'; if 'x' is a numeric vector of log ratios, 'y' should be given and should be a numeric vector of P-values indicating the statistical significance |
pointLabels |
Labels for points on the volcano plot that are interesting taking into account both the x and y dimensions; typically this is a vector of gene symbols; most methods can access the gene symbols directly from the object passed as 'x' argument; the argument allows for custom labels if needed |
topPValues |
top n points that will be included in the points to label based on their low P Values |
topLogRatios |
top n points that will be included in the points to label based on their high absolute values of the log ratio |
smoothScatter |
use color saturation to indicate dots that are in densely
populated regions of the graph; defaults to |
xlab |
label for the x axis (string) |
ylab |
label for the y axis (string) |
main |
main title for the graph (string) |
sub |
subtitle for the graph (string) |
newpage |
should the graph be drawn to a new grid page? Defaults to
|
additionalPointsToLabel |
Entrez IDs of genes of interest, that will be highlighted on the plot; the color of highlighting is determined by the 'additionalLabelColor' argument. |
additionalLabelColor |
Color used to highlight the 'additionalPointsToLabel'; defaults to "red" |
The set of genes for which labels are displayed is the union of the set of
genes that have lowest P-values (topPValues
) and the set of genes
that display the highest absolute values for the log ratios (topLogRatios
).
The volcano plot is drawn to the current device.
Tobias Verbeke, based on code by Willem Talloen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.