Re: [R] Volcano Plot

2012-02-29 Thread Martin Morgan
On 02/28/2012 08:13 AM, aishsk wrote: Hi I am using the ggplot2 package for the volcano plot and I am using the following code for the same: g = ggplot(data=data, aes(x=data[11], y=-log10(data[12]), colour=threshold)) + + geom_point(alpha=0.4, size=1.75) + + opts(legend.position = "none") +

[R] Volcano Plot

2012-02-28 Thread aishsk
Hi I am using the ggplot2 package for the volcano plot and I am using the following code for the same: g = ggplot(data=data, aes(x=data[11], y=-log10(data[12]), colour=threshold)) + + geom_point(alpha=0.4, size=1.75) + + opts(legend.position = "none") + + xlim(c(-10, 10)) + ylim(c(0, 15)) +