plotVolcano {rliger} | R Documentation |
Create volcano plot for Wilcoxon test result
Description
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".
Usage
plotVolcano(
result,
group,
logFCThresh = 1,
padjThresh = 0.01,
labelTopN = 20,
dotSize = 2,
dotAlpha = 0.8,
legendPosition = "top",
labelSize = 4,
...
)
plotEnhancedVolcano(result, group, ...)
Arguments
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 |
labelTopN |
Number of top differential expressed features to be labeled
on the top of the dots. 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
|
... |
For |
Value
ggplot
Examples
result <- runMarkerDEG(pbmcPlot)
plotVolcano(result, 1)