[R] Pairwise correlation

R. Michael Weylandt michael.weylandt at gmail.com
Wed Nov 16 20:28:25 CET 2011


X = matrix(rnorm(400),ncol = 4)


On Wed, Nov 16, 2011 at 11:37 AM, muzz56 <musahass at gmail.com> wrote:
> Dear All,
> I am not familiar with R yet I want to use it to perform some task, hence my
> posting here. I hope someone can help.
> I have a set of data, genes (rows) and samples (columns). I want to do a
> Pearson correlation on all the possible pairwise combinations of all the
> genes (2000). Does anyone have an idea of how to execute this in R?
> Thanks in advance.
> --
> View this message in context: http://r.789695.n4.nabble.com/Pairwise-correlation-tp4076963p4076963.html
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> R-help at 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.

More information about the R-help mailing list