[BioC] mapping gene name to affy id

Ruppert Valentino ruppert7 at hotmail.com
Sun Dec 7 22:37:55 CET 2008

I wonder if anyone has come across the same problem as I am having.
I am trying to map a gene name i.e HGNC symbol to its corresponding affymetrix probe using R/Bioconductor but I don't seem to be able to do it using biomaRt
I tried :
getBM(attributes=c("affy_hg_u133_plus_2","hgnc_symbol","chromosome_name","band"),filters="affy_hg_u133_plus_2",values="CD86", mart=mart)

and other similar code but they don't work
The previous version of biomaRt that uses getFeature() worked when I use something like this :
feat = getFeature(symbol = "CD86", type = "affy_hg_u133_plus_2", mart = mart)
but I just can't seem to get the same to work using getBM which now superceeds getFeature
has anyone come across the same problem and if so how did they solve it.
Many thanks.

Get a bird’s eye view of the world with Multimap

More information about the Bioconductor mailing list