stat_summary(geom = "bar",
fun = mean,
fill="#c6c3c3")
image.png
添加误差线...fun.min = ebbottom,
fun.max = ebtop,
width=0.2)
image.png
添加图上的散点...,
fun.max = ebtop,
width=0.2)+
geom_jitter(width = 0.3)
image.png
添加显著性...p值
ggplot(data=dfb.1,aes(x=V1,y=value))+
stat_summary(geom = "bar",
fun = mean,...1.1,1.3,1.5),
#annotations = c(""),
parse = T)
image.png
如何在geom_signif()函数里调整P值的文字格式暂时想不到办法了