Entering edit mode
2.1 years ago
Amr
▴
180
How to change colors in boxplot in R?
I want to change the colors of the cage parameters for example make cage1 in color, cage2 in different color etc.
plot_richness(physeq.alpha,x ='cage' ,col = 'cage', measures=c("Chao1","Shannon",'simpson','invsimpson','ACE')) + geom_boxplot(fill = c('red','blue','orange','purple','yellow'),color = 'darkgreen') +
scale_fill_manual(values=palette)