[BioC] taking the median across similar data
Sean Davis
seandavi at gmail.com
Thu Feb 25 03:15:31 CET 2010
On Wed, Feb 24, 2010 at 8:27 PM, Harikrishnadhar <hari.bombex at gmail.com> wrote:
> Dear All,
>
> I am analyzing the miRNA data set in which I have 817 unique probes for each
> they have 20 features each . I have to group the similar features and take
> the median across them so that I have a data with no repeats to perform
> invariant analysis .
>
> My data looks something similar format
>
> probename sample1 sample2 sample3
> A 2.3 2.4 2.5
> A 8.9 3.6 7.9
> A 4.7 4.4 2.2
> C 2.2 2.1 2.3
> C 1.3 1.3 2.9
> B 2.2 2.1 2.7
> B 2.2 2.1 2.8
>
> I have to group the probename elements and and get median across them.
> Please help with this so that I can get complete my analysis .
Hi, Hari.
To answer your question directly, have a look at the aggregate()
function. That said, I'm not sure where you are headed with your
analysis....
Sean
More information about the Bioconductor
mailing list