Hello,
If it's just a correlation matrix, see
?cor
Note that it computes the correlations between columns, the variables;
rows are observation.
So you'll need to transpose the matrices or data.frames in order to have
probesets as variables.
You'll also need to have matrices of the same dimensions.
Hope this helps,
Rui Barradas
Em 15-05-2012 11:00, r-help-requ...@r-project.org escreveu:
Date: Mon, 14 May 2012 05:49:33 -0700 (PDT)
From: genome1976<genome1...@hotmail.com>
To:r-help@r-project.org
Subject: Re: [R] Calculating all possible ratios
Message-ID:<snt108-w51db32a48f35df948d1132cd...@phx.gbl>
Content-Type: text/plain
Hi Rui,
Thanks once again for all the help. I need to ask for one more help from you. I
have two matrices, with probesets as rows and samples as columns.
The samples in the two matrices are matched (from the same animal but two
different tissues). I want to create a correlation matrix of sample by sample
using the probeset expression values. Could you please suggest a way to do that?
Thanks,
Som.
Date: Sat, 12 May 2012 15:20:52 -0700
From:ml-node+s789695n4629656...@n4.nabble.com
To:genome1...@hotmail.com
Subject: RE: Calculating all possible ratios
______________________________________________
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.