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()
Advertisements

4 thoughts on “Boxplot with data points”

    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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

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