![]() Theme(plot.title = element_text(color="black", size=17, face="bold"))+ Scale_shape_manual(labels=c("Control", "Damaged"),name="Treatment",values = c(16,16),guide = guide_legend(reverse = TRUE) )+ Scale_color_manual(labels=c("Control", "Damaged"),values=c("red","black"),guide = guide_legend(reverse = TRUE) )+ Geom_point(position=position_jitterdodge(dodge.width=0.8, jitter.height=0, jitter.width=0.2), Stat_summary(fun.data=data_summary, position=pd1, geom="point", size=2) + Stat_summary(fun.data=data_summary, position=pd1, geom="errorbar", width=0.05) + Plot_CT<- ggplot(dta, aes(x=Location, y=CT, colour=Treatment,shape=Treatment)) + I cannot visually differentiate between “con” and “exp” treatments nested within mid /high/)īasically, all I want is to produce a plot that looks like the one in the red&black Figure but where the individual data points are colored according to “Genotypes”īelow is my code, relevant figures and my raw data. However, if I do that my “nested” plot structure disappears (i.e.
0 Comments
Leave a Reply. |