Re: [R] In need of help with correlations

2011-04-11 Thread Peter Langfelder
On Sat, Apr 9, 2011 at 10:24 AM, Sean Farris wrote: > I am in need of someone's help in correlating gene expression. I'm somewhat > new to R, and can't seem to find anyone local to help me with what I think > is a simple problem. > > I need to obtain pearson and spearman correlation coefficients,

Re: [R] In need of help with correlations

2011-04-09 Thread Tóth Dénes
I do not know the bioconductor packages you mentioned, but the corr.test function in the psych package, or the rcorr function in the Hmisc package should do the work. Also note that the c() in method=c("pearson") is redundant. Just write method="pearson" instead (or nothing, since this is the defa

[R] In need of help with correlations

2011-04-09 Thread Sean Farris
I am in need of someone's help in correlating gene expression. I'm somewhat new to R, and can't seem to find anyone local to help me with what I think is a simple problem. I need to obtain pearson and spearman correlation coefficients, and corresponding p-values for all of the genes in my dataset