plot_volcano: Plot Bayesian Volcano plot

View source: R/plot_volcano.R

plot_volcanoR Documentation

Plot Bayesian Volcano plot

Description

Plot Bayesian Volcano plot

Usage

plot_volcano(result, CrI = FALSE, CrI_width = FALSE, color = NULL)

Arguments

result

from prepare_volcano_input() (a data frame).

CrI

Logical. Whether to display the CrI Interval of the parameter

CrI_width

Logical. Whether to display the CrI width as point size.

color

Column in 'result$result. Can be numerical or character.

Value

a ggplot2 object

Examples

data("posterior")
head(posterior)
data("annotation_df")
head(annotation_df)

result <- prepare_volcano_input(
  posterior = posterior,
  annotation = annotation_df,
)
plot_volcano(result,
  color = "group",
  CrI = TRUE,
  CrI_width = TRUE
)

BayesVolcano documentation built on March 31, 2026, 5:06 p.m.