[BioC] sort the difference and save to individual files problem
Dr_Gyorffy_Balazs
zsalab2 at yahoo.com
Fri Jul 30 12:14:49 CEST 2004
I have a table with gene expression data:
Smpl 1 Smpl 2 Smpl 3
Gene 1 2 3 2
Gene 2 4 6 8
Gene 3 6 9 10
?
[1.] I would like to construct a table/list of differences
of every sample minus every other sample. For example:
Smpl 2 - Smpl 3:
Gene 1 1
Gene 2 -2
Gene 3 -1
...
[2.] I would like to sort all these tables/lists
decreasingly
Sample 2 ? Sample 3
Gene 1 1
Gene 3 -1
Gene 2 -2
...
[3.] I have all together 10 samples, so the expected
outputs are 10x10=100 tables with one column. I would like
to save this result in 100 files (for example in a tab
separated output).
Is this possible?
I can do every individual sample vs other sample by simple
R commands (-, sort, etc), but that?s just too much work.
Maybe somenone can help me to make this in an elegant way.
(I want to compare already calculated mean values of the
samples without additional significance tests. Therefore I
don?t want to use sam, t-test, or other statistical
method.)
Thank you for the help
Balazs Györffy
More information about the Bioconductor
mailing list