GWAS Manhattan plots and QQ plots using ggplot2 in R
[This article was first published on Getting Genetics Done, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Will posted earlier this week about how to produce manhattan plots of GWAS results using Stata, so I thought I’d share how I do this in R using ggplot2.
First, if you’ve never used ggplot2, you’ll need to add it to your R installation by typing:
install.packages(“ggplot2”)
Once you’ve done that, copy and paste this command to download the functions I wrote necessary to produce these plots. If
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
To leave a comment for the author, please follow the link and comment on their blog: Getting Genetics Done.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.