[BioC] Permutation of a data.frame
Paul Christoph Schröder
pschrode at alumni.unav.es
Thu May 17 13:00:55 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all,
I have a data frame like this:
Code pvalue
GT2984 0,0665
GT9301 0.1203
GT9271 0.0123
GT1203 0.0023
............. ..........
and so on.
I would like to permute only the rows, i.e. at start GT2984 with
pvalue 0,0665 is at position 1 and after the random permutation it
would be elsewhere but with his pvalue, i.e. GT2984 with pvalue 0,0665
at position 19. And this should happen with every row from the data.frame.
How could I achieve this?
Thanks in advance,
Paul
- --
Paul C. Schröder
PhD-Student
Division of Proteomics, Genomics & Bioinformatics
Center for Applied Medicine (CIMA)
University of Navarra
Avda. Pio XII, 55
E-31008 Pamplona, Spain
Tel: +34 948 194700, ext 5032
email: pschrode at alumni.unav.es
GnuPG Fingerprint
F1B6 4D01 D870 264D 3A16 9BA4 B6A5 F023 12FF 4D92
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGTDXmtqXwIxL/TZIRArX3AKCb3nsEie2JbJoN1SF3i3cDno1prQCfWGMN
+rxycOfAHRcOR/xEm/2ErrA=
=amig
-----END PGP SIGNATURE-----
More information about the Bioconductor
mailing list