Displaying 1 result from an estimated 1 matches for "rs17563827".
Did you mean:
rs17563787
2007 Nov 18
1
how to sort a data.frame by ascending some columns
...the data frame
> clones.info[1:5,1:6]
USER_CLONE_ID CHROMOSOME Expr1002 KB_POSITION Allele_A WELL_ID
1 SNP_A-1855402 17 41419603 41419603 C rs17572851
2 SNP_A-4249904 17 41420045 41420045 A rs17572893
3 SNP_A-2174835 18 41407760 41407760 C rs17651213
4 SNP_A-1880271 18 41173993 41173993 A rs17563827
5 SNP_A-2313232 17 41169023 41169023 C rs17563787
Especially, I want the data frame sorted by column CHROMOSOME
first and then by KB_POSITION. Both in ascending orders.
So after sorting, it should looks like:
> clones.info[1:5,1:6]
USER_CLONE_ID CHROMOSOME Expr1002 KB_POSITION Allele_A WE...