Plot 1 - p-values as a barplot
Usage
draw_pvals(
x,
xnames = NULL,
yname = NULL,
p_adjust_method = "none",
pval_hline = 0.05,
hline_col = "#FE4AA3",
hline_dash = "dash",
...
)
Arguments
- x
Float, vector: p-values.
- xnames
Character, vector: feature names.
- yname
Character: outcome name.
- p_adjust_method
Character: method for p.adjust.
- pval_hline
Float: Significance level at which to plot horizontal line.
- hline_col
Color for
pval_hline
.- hline_dash
Character: type of line to draw.
- ...
Additional arguments passed to draw_bar.