Skip to content
Prev 296054 / 398525 Next

How to calculate correlation matrix for 128 * 12625 matrix

On Tue, May 29, 2012 at 11:26 PM, mahdi <mahdi43 at gmail.com> wrote:
R functions (almost always) don't have side effects and use
copy-by-value semantics so if you want to make x permanently
transposed you need to write

x <- t(x)

which wil transpose x and then replace x with the resulting transposed matrix.
This seems domain specific but I might suggest you look at the
Bioconductor suite and mailing list -- this is a problem they've
likely faced before.

Best,
Michael