I am trying to plot signal intensity per timepoint in a violinplot then adding box-plots to it, to give more info. The dataframe has data for two duplicates A and B. So far I managed to create the graph but the boxplot is not overlapping the violin there is a slight shift. Any suggestions how fix that please?
Violin_plot <- ggplot(DF_combine, aes(factor(Duplicate),x=Time, y=signal))+
geom_violin(aes(fill=Duplicate),width=0.6,color="#535352")+
geom_boxplot(aes(fill=Duplicate),color="#535352",width=0.2,notch = T) +
scale_fill_brewer(palette="Blues")