[BioC] How to sort a matrix based on its column names and preserving the identical column names
James W. MacDonald
jmacdon at med.umich.edu
Fri Aug 3 15:14:49 CEST 2007
Oh, wait. I didn't read the part about the repeated column names. I
don't think you can resort without ending up with unique column names.
Sorry for the noise...
carol white wrote:
> Hello,
> How to sort a matrix based on its column names and preserving the identical column names.
>
> when I use mat [, sort(colnames(mat))], sort changes all column names to unique ones. for ex, if the name of 2 columns is col, the 2nd will be changed to col.1 whereas I want to keep the col name for the two columns
>
> col col -> col col.1
>
> thanks
>
>
> ---------------------------------
> Park yourself in front of a world of choices in alternative vehicles.
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
--
James W. MacDonald, M.S.
Biostatistician
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
More information about the Bioconductor
mailing list