Boxplot with data points


postscript(file="figures/boxplot.ps")
boxplot(lncrp~rs1205_A,data=wm.black,names=c("GG","AG","AA"))
with(wmb,points(1+rs1205_A,lncrp,col="red",pch=16))
dev.off()
Categories:

4 Comments

    1. It’s not exactly what I have in mind, but it’s simple and close enough to trade-off my perfectionism.

    1. I guess you can do something like moving the points a bit to the right (e.g. adding 0.5 to X-axis) , and make the box thinner (may be there’s an option in “boxplot”?)

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.