Hi i have generated a alpha diversity plot from using the following code and getting a plot like the following.
CODE:
#plot alpha diversity index
alpha_sweden <- plot_richness(physeq_rarefied, x="type", measures="Shannon") +
stat_compare_means(method = "wilcox.test") +
geom_boxplot(aes(fill = type), notch = TRUE, outlier.size = -1) +
scale_fill_manual(values = c("skyblue", "hotpink"))+
labs(x= "Sample types", y= "Shannon Diversity Index", fill ="Groups") +
theme(legend.position = element_blank(), axis.text.x = element_blank())
alpha_erp002469_sweden$layers[1] <- NULL
#export alpha diversity index
tiff(filename = "alpha_diversity_plot.tiff", width = 30, height = 30, units = "cm", res = 1200)
alpha_erp002469_sweden
dev.off()
PLOT:
Can you please tell me how can I remove that
"Shannon" heading from the plot?
Thanks,
DC7