
Plots for 2-Group Differential Expression Analysis (DEA)
autoplot.glystats_ttest_res.Rd
Visualization for results from glystats::gly_ttest()
and glystats::gly_wilcox()
(glystats_ttest_res
and glystats_wilcox_res
objects).
Draw a volcano plot.
Usage
# S3 method for class 'glystats_ttest_res'
autoplot(
object,
log2fc_cutoff = 1,
p_cutoff = 0.05,
p_col = "p_adj",
up_color = "#D55E00",
down_color = "#56B4E9",
...
)
# S3 method for class 'glystats_wilcox_res'
autoplot(
object,
log2fc_cutoff = 1,
p_cutoff = 0.05,
p_col = "p_adj",
up_color = "#D55E00",
down_color = "#56B4E9",
...
)
Arguments
- object
A
glystats_ttest_res
orglystats_wilcox_res
object.- log2fc_cutoff
The log2 fold change cutoff. Defaults to 1.
- p_cutoff
The p-value cutoff. Defaults to 0.05.
- p_col
The column name for p-value. Defaults to "p_adj". Can also be "p" (raw p-values without multiple testing correction).
- up_color
The color for up-regulated candidates. Defaults to "#FF7777".
- down_color
The color for down-regulated candidates. Defaults to "#7DA8E6".
- ...
Ignored.