, , , , . geom_segment
, "" ( , ), . , x
.
y = 1e-20 y = 1. Y , , , , 1-20 1-19, , , 1-8 1-7, .
, , , - . , , 1e-20
1e-100
. , , .
-, , @hrbrmstr, , , , 10 . .
ggplot(data=df, aes(x=as.numeric(snp) + 0.3*(as.numeric(type) - 1.5),
y=mean, colour=type)) +
geom_errorbar(aes(ymin=mean-se, ymax=mean+se), width=.3) +
geom_segment(aes(xend=as.numeric(snp) + 0.3*(as.numeric(type) - 1.5),
y=1e-20, yend=mean), size=5) +
scale_y_log10(limits=c(1e-20, 1), breaks=10^(-100:0), expand=c(0,0)) +
scale_x_continuous(breaks=1:6, labels=LETTERS[1:6])

, , :
pd = position=position_dodge(.5)
ggplot(data=df, aes(x=snp,y=mean,fill=type))+
geom_errorbar(aes(ymin=mean-se, ymax=mean+se, colour=type), width=.3, position=pd) +
geom_point(aes(colour=type), position=pd) +
scale_y_log10(limits=c(1e-7, 1e-5), breaks=10^(-10:0)) +
annotation_logticks(sides="l")
