[R] Sort help

Rajasekaramya ramya.victory at gmail.com
Wed Nov 5 20:02:44 CET 2008


  Geneset_name                              #Chromosome  #Hit_in_Biomart 
original_geneset_len  Missing.genes
 [1,] "AGUIRRE_PANCREAS_CHR12"              "1"         "51"                
"59"                 "8"           
  [3,] "AGUIRRE_PANCREAS_CHR9"               "1"         "24"               
"24"                 "0"           
 [4,] "AGUIRRE_PANCREAS_CHR1"                "1"         "30"               
"31"                 "1"           
 [5,] "AGUIRRE_PANCREAS_CHR18"              "1"         "17"               
"17"                 "0"           
 [6,] "AGUIRRE_PANCREAS_CHR7"               "1"         "35"               
"48"                 "13"          
 [7,] "AGUIRRE_PANCREAS_CHR8"               "1"         "55"               
"61"                 "6"          

Above is a dataframe information.

i need to sort the entire dataframe based on the  3rd colum. in decending
order.

I tried using order

information[order(information[,3])] but it gives me only the ordered first
coulmn that too i am not sure that it really works.

Kindly let me know with any suggestions.

Regards
Ramya

 
-- 
View this message in context: http://www.nabble.com/Sort-help-tp20346314p20346314.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list