6.3
差异zOTU的effect 图。
pdf (file = "Discrimitive zOTUs.pdf")
par(mfrow=c(1,2))
plot(f.e$diff.win, f.e$diff.btw,
pch=19, col=rgb(0,0,0,0.3),
cex=0.5, main="effect plot",
xlab="Dispersion", ylab="Difference")
points(f.e$diff.win[high.e],
f.e$diff.btw[high.e],
col=rgb(1,0,0,0.5), cex=0.8)
points(f.e$diff.win[low.p],
f.e$diff.btw[low.p],
pch=19, col=rgb(0,0,1,0.5),
cex=0.5)
abline(0,1, lty=2, lwd=2,col="grey")
abline(0,-1, lty=2, lwd=2,col="grey")
plot(f.e$effect, f.t$we.eBH, log="y",
pch=19, col=rgb(0,0,0,0.3),
main="E vs p", xlab="effect size",
ylab="E(p.adjust)", cex=0.5)
points(f.e$effect[high.e], f.t$we.eBH[high.e],
col=rgb(1,0,0,0.5), cex=0.8)
points(f.e$effect[low.p], f.t$we.eBH[low.p],
pch=19, col=rgb(0,0,1,0.5),cex=0.5)
abline(v=1, lty=2, lwd=2,col="grey")
abline(v=-1, lty=2, lwd=2,col="grey")
abline(h = 0.05, lty=2, lwd=2,col="grey")
dev.off();