ggplot(expressiongenes, aes(x = Jour, y = NE.EcR.M, fill = Jour)) +
stat_summary(
geom = "bar",
fun = "mean",
position = "dodge",
) +
facet_wrap(~ Exposition) +
scale_fill_manual(values = c("grey", "grey35", "grey20")) +
theme_bw() +
theme() +
This code used to work yesterday, but doesn't today. I've tried using either geom_col or geom_bar but i can't seem to achieve my goal I verified my dataframe, and i've loaded the necessary libraries Graph i obtain with this code, instead i would like for each Jour (my category) to display a single bar corresponding to the mean value
Feel free to tell me if what details i can add to better explain my problem :)