The WGCNA package contains function corAndPvalue that will calculate the correlation and the associated p-values for two matrices more efficiently and quickly.
HTH, Peter On Tue, May 31, 2011 at 12:03 AM, Unger, Kristian, Dr. <un...@helmholtz-muenchen.de> wrote: > Hi there, > > I wonder if there is a way of efficiently generating a correlation matrix of > two expression matrices. I want to correlate miRNA and mRNA expression and > used the following code: ______________________________________________ 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.