You should be able to convert back to probe ID in different ways:
1, create a Master annotation table
Here, we simply output all records from the database. You can then later use this to look up the probe IDs manually
require(hgu133a.db)
annotMaster1 <- select(hgu133a.db,
keys = keys(hgu133a.db, 'PROBEID'),
column = c('PROBEID', 'SYMBOL', 'ENTREZID', 'ENSEMBL'),
keytype = 'PROBEID')
dim(annotMaster1)
[1] 28437 4
head(annotMaster1)
PROBEID SYMBOL ENTREZID ENSEMBL
1 1007_s_at DDR1 780 ENSG00000204580
2 1007_s_at DDR1 780 ENSG00000234078
3 1007_s_at DDR1 780 ENSG00000215522
4 1007_s_at DDR1 780 ENSG00000137332
5 1007_s_at DDR1 780 ENSG00000223680
6 1007_s_at DDR1 780 ENSG00000229767
Note that it's a bit tidier without those Ensembl entries:
annotMaster2 <- select(hgu133a.db,
keys = keys(hgu133a.db, 'PROBEID'),
column = c('PROBEID', 'SYMBOL', 'ENTREZID'),
keytype = 'PROBEID')
dim(annotMaster2)
[1] 24468 3
head(annotMaster2)
PROBEID SYMBOL ENTREZID
1 1007_s_at DDR1 780
2 1007_s_at MIR4640 100616237
3 1053_at RFC2 5982
4 117_at HSPA6 3310
5 121_at PAX8 7849
6 1255_g_at GUCA1A 2978
2, directly look up the probe ID for each corresponding Ensembl ID
ens_ids <- unique(annotMaster1$ENSEMBL)
lookup <- select(hgu133a.db,
keys = ens_ids,
column = c('PROBEID', 'SYMBOL', 'ENSEMBL'),
keytype = 'ENSEMBL')
head(lookup)
ENSEMBL PROBEID SYMBOL
1 ENSG00000204580 1007_s_at DDR1
2 ENSG00000204580 207169_x_at DDR1
3 ENSG00000204580 208779_x_at DDR1
4 ENSG00000204580 210749_x_at DDR1
5 ENSG00000234078 1007_s_at DDR1
6 ENSG00000234078 207169_x_at DDR1
Kevin
Hi, Biostar is indexed by google, so that every question and answers have the potential to become useful to others through as simple google search. It is therefore essential to keep the meta-data of a question (title and tags) as clear and precise as possible. Please edit your current title, as it does not currently provide any useful information. See How To Ask Good Questions On Technical And Scientific Forums
I have edited the question title
What is the question? What programming language are you using? If you find that some useful functionality is missing from a library, feel free to contribute code to fill the gap. I am sure the authors of the library and the larger community will be grateful.