ggstatsplot: how to add star significance ?

--Hi,

i use ggstatsplot package and i want to add error bar on the boxplot and also significance star (*) between 2 samples comparison (add_significance() ?)

Do you have clues to do that ?

code below:


library(ggstatsplot)
ggbetweenstats(data=df_merge,x=cond,y=values,var.equal=TRUE,type="np",pairwise.display="all",notch=T,
  xlab = "Cond",
  ylab = "CNV",
  ggtheme = ggplot2::theme_gray(),
  package = "yarrr",
  palette = "info2",
  title = "example",
  results.subtitle=FALSE,
  point.args = list(position = ggplot2::position_jitterdodge(dodge.width = 0.15),size = 1.5, stroke = 0),
  k=3,
  caption = "Source: test"
)
1 Like

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.