Is there a way to add error bars manually using ggpubr?

I am using the ggbarplot function from the ggpubr package to generate a bar plot. I would like to keep using ggpubr instead of ggplot2 because it offers a nice way to add grouped significance bars (

I would like to add my own manual error bars, as one would normally do with the ymax and ymin arguments in ggplot2:

geom_errorbar(aes(ymax = upper_errorbar, ymin = lower_errorbar))

Is there a way to manually add the equivalent ymin and ymax values for an error bar withing ggpubr? From a look through the manual I don't see a way but would like to be sure.

Read more here:

Content Attribution

This content was originally published by MikeG at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: