Learn R Programming

vici (version 0.7.3)

boxplot_VICI: Plotting function for displaying boxplots and associated p-values

Description

Internal function for displaying significance boxplots

Usage

boxplot_VICI(
  data_df,
  pval_2plot,
  response_name,
  input,
  inter = TRUE,
  baseline = NULL,
  fill = FALSE
)

Value

a ggpubr plot object

Arguments

data_df

a data.frame.

pval_2plot

a data.frame with the p-values to display.

response_name

a character string indicating the name of the response.

input

internal input from UI.

inter

a logical flag indicating whether we are in the interarm setting or not. Default is TRUE.

baseline

baseline value used in title when inter is FALSE. Default is NULL.

fill

a logical flag indicating if the boxplot is filled Default if FALSE

Author

Boris Hejblum