[R] Calculating all possible ratios

Rui Barradas ruipbarradas at sapo.pt
Tue May 15 14:06:20 CEST 2012


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-request at r-project.org escreveu:
> Date: Mon, 14 May 2012 05:49:33 -0700 (PDT)
> From: genome1976<genome1976 at hotmail.com>
> To:r-help at r-project.org
> Subject: Re: [R] Calculating all possible ratios
> Message-ID:<SNT108-W51DB32A48F35DF948D1132CD1A0 at 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+s789695n4629656h97 at n4.nabble.com
> To:genome1976 at hotmail.com
> Subject: RE: Calculating all possible ratios
>
>



More information about the R-help mailing list