I am trying to create a faceted plot like below. However, stats always only get applied to one of the plots. Is there a workaround keeping the figure appearance the same, but adding stats to both?
Here is the code that I am using
ggplot(dat, aes(x=`Treatment`,y=`Endostatin`, fill=Treatment))+
geom_boxplot(outlier.alpha = 0.25, outlier.color = "red") +
geom_point(alpha = 0.25, size = 2 ) +
facet_wrap(~Mode, scale="free") +
stat_compare_means(comparisons = my_comparisons) +
theme(axis.text.x = element_text(angle = 20))
