draw_pvals | R Documentation |
Plot 1 - p-values as a barplot
draw_pvals(
x,
xnames = NULL,
yname = NULL,
p_adjust_method = "none",
pval_hline = 0.05,
hline_col = "#FE4AA3",
hline_dash = "dash",
...
)
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 |
hline_dash |
Character: type of line to draw. |
... |
Additional arguments passed to draw_bar. |
plotly
object.
EDG
## Not run:
draw_pvals(c(0.01, 0.02, 0.03), xnames = c("Feature1", "Feature2", "Feature3"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.