View source: R/visualization.R
plotVolcano | R Documentation |
plotVolcano
is a simple implementation and shares most of arguments
with other rliger plotting functions. plotEnhancedVolcano
is a
wrapper function of EnhancedVolcano::EnhancedVolcano()
, which has
provides substantial amount of arguments for graphical control. However, that
requires the installation of package "EnhancedVolcano".
highlight
and labelTopN
both controls the feature name
labeling, whereas highlight
is considered first. If both are as
default (NULL
), all significant features will be labeled.
plotVolcano(
result,
group = NULL,
logFCThresh = 1,
padjThresh = 0.01,
highlight = NULL,
labelTopN = NULL,
dotSize = 2,
dotAlpha = 0.8,
legendPosition = "top",
labelSize = 4,
...
)
result |
Data frame table returned by |
group |
Selection of one group available from |
logFCThresh |
Number for the threshold on the absolute value of the log2
fold change statistics. Default |
padjThresh |
Number for the threshold on the adjusted p-value
statistics. Default |
highlight |
A character vector of feature names to be highlighted.
Default |
labelTopN |
Number of top differential expressed features to be labeled
on the top of the dots. Ranked by adjusted p-value first and absolute value
of logFC next. Default |
dotSize , dotAlpha |
Numbers for universal aesthetics control of dots.
Default |
legendPosition |
Text indicating where to place the legend. Choose from
|
labelSize |
Size of labeled top features and line annotations. Default
|
... |
Arguments passed on to
|
ggplot
plotVolcano(deg.pw, "0.stim")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.