volcano plot for regression results
plot_volcano(
fit,
x = "estimate",
y = "p.value",
p.value_log10 = TRUE,
color = "outcome",
label = "term",
highlight = "significant",
x_lab = "Effect size",
y_lab = "-log10(P value)"
)
regression summary results.
The x-axis column, eg. effect size.
The y-axis column, eg. p value.
whether to transforme p.value by -log10.
A column in fit to show different point colors. Set as NULL to turn off the color argument.
A column in fit to label points.
A column in fit to show the points to highlight. Values as 1 are hightlighted.
labels for x-axis.
labels for y-axis.
A volcano plot.