Entering edit mode
                    7.2 years ago
        bio94
        
    
        ▴
    
    60
    Hello everyone, I was wondering as to how do I map the probe id's to the gene symbols so that they are in the same order. I just noticed that my annotLookup table probe id's are in a different order when compared to the original dataset.
> rownames(exprs(gset))[1:10]
 [1] "1007_s_at" "1053_at"   "117_at"    "121_at"    "1255_g_at" "1294_at"   "1316_at"   "1320_at"   "1405_i_at"
[10] "1431_at"  
> annotLookup <- getBM(mart=mart, attributes=c("affy_hg_u133_plus_2", "external_gene_name"), filter="affy_hg_u133_plus_2", values <- rownames(exprs(gset))[1:10] , uniqueRows=TRUE)
> head(annotLookup)
  affy_hg_u133_plus_2 external_gene_name
1             1294_at            MIR5193
2             1316_at               THRA
3             1294_at               UBA7
4           1007_s_at               DDR1
5             1320_at             PTPN21
6              117_at              HSPA6
Thank you!
add two more steps to your analysis. Results data has probes with multiple gene names/symbols. You can collapse them @ bio94
Thanks very much Emily