How about something like this using biomaRt. This might only be valid for the Mouse Gene ST 2.1 though, Ensembl only seem to have data for 1.0 and 2.1.
library(biomaRt)
## set up biomart
ensembl_mart <- useMart("ensembl")
ensembl_mart <- useDataset("mmusculus_gene_ensembl", mart = ensembl_mart)
## this is the MGI symbol for the gene we're interested in
gene_id <- "Hoxa5"
## return the ENSEMBL gene ID, AFFY probe ID, & MGI gene symbol
getBM(mart = ensembl_mart,
filters = "mgi_symbol",
values = gene_id,
attributes = c("ensembl_gene_id", "affy_mogene_2_1_st_v1", "mgi_symbol"))
Thank you. That helps me get the probeset ID. Do you know if there is a way to go deeper than that and get all the probes that map to the probe set?
I have Mouse Gene ST 2.0, I am particularly interested in "Fas" gene. The probe ID is 17358797, and I can see from the affymetrix .csv file that the number of total probes mapping to it is 30 - I was wondering if it is possible to identify them (and access them in raw data)?
Thank you. That helps me get the probeset ID. Do you know if there is a way to go deeper than that and get all the probes that map to the probe set?
I have Mouse Gene ST 2.0, I am particularly interested in "Fas" gene. The probe ID is 17358797, and I can see from the affymetrix .csv file that the number of total probes mapping to it is 30 - I was wondering if it is possible to identify them (and access them in raw data)?
And the fid is the row from the exprs slot in your GeneFeatureSet, so you can get the probe values by
Thank you!!
Is it also possible to access their sequences?
You need to download the pgf file for that: