[R] A question regarding volcano plot

2011-01-19 Thread Skull Crossbones
Hello all, I was trying to make a volcano plot with some real data, using log2(ratio) vs. Z-value significance. However the scatter of the points is too less contrary to 'normal' volcano plots and I'm getting a sharp 'V' shaped plot. *Am I doing something wrong here?* The data(ratio) is availa

Re: [R] A question regarding volcano plot

2011-01-19 Thread Skull Crossbones
I forgot to mention the plot looks like this :-( http://img402.imageshack.us/i/volcanoi.jpg/ [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] median by geometric mean

2011-01-15 Thread Skull Crossbones
Hi All, I need to calculate the median for even number of data points.However instead of calculating the arithmetic mean of the two middle values,I need to calculate their geometric mean. Though I can code this in R, possibly in a few lines, but wondering if there is already some built in functio