Use the ggplot2 package in order to make a volcano plot! Check out the
following book for more information about the package: ggplot2: Elegant
Graphics for Data Analysis (Use R) by Hadley Wickham.  ggplot2 is great for
creating professional graphics in no time.     

If you look up stat_density in R, you will find the following example at the
bottom of the page:

# Make a volcano plot
ggplot(diamonds, aes(x = price)) + 
  stat_density(aes(ymax = ..density..,  ymin = -..density..), 
    fill = "grey50", colour = "grey50", 
    geom = "ribbon", position = "identity") + 
  facet_grid(. ~ cut) + 
  coord_flip()

Good luck!
Anna

--
View this message in context: 
http://r.789695.n4.nabble.com/r-help-volcano-plot-tp3792651p3792696.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to