Boxplots of the alpha and beta diversity values for the three types of forests.YueHua HuDaYong ShengYangZhou XiangZengJiang YangDaPing XuNingNan ZhangLeiLei Shi
6 ggplot绘制箱形图 library(ggplot2)# 加载R包ggplot2alpha_boxplot=ggplot(data_ggplot,aes(x=group,y=data_norm_shannon,fill=group))+# 添加数据、xy值、 颜色参数给画图函数ggplotgeom_boxplot()+# 盒图labs(title="Alpha diversity",x="Group",y="Shannon index")+# 标题theme(plot.title=element_...