Plot MassGLM using volcano plot
Usage
# S3 method for class 'MassGLM'
plot(
x,
coefname = NULL,
p_adjust_method = "holm",
p_transform = function(x) -log10(x),
xlab = "Coefficient",
ylab = NULL,
theme = choose_theme(),
verbosity = 1L,
...
)Arguments
- x
MassGLM object
- coefname
Character: Name of coefficient to plot. If
NULL, the first coefficient is used.- p_adjust_method
Character: "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none" - p-value adjustment method.
- p_transform
Function to transform p-values for plotting. Default is
function(x) -log10(x).- xlab
Character: x-axis label.
- ylab
Character: y-axis label.
- theme
Themeobject- verbosity
Integer: Verbosity level.
- ...
Additional arguments passed to draw_volcano or draw_bar