Skip to content
Prev 5890 / 21307 Next

[Bioc-devel] mapping vector of gene ids to gene symbols

hi Michael,

this souns like if you had a list of variants where you have annotated 
their Entrez Gene IDs, which sometimes are NA because those variance do 
not overlap any gene and sometimes are repeated Entrez Gene IDs when two 
or more of those variants overlap the same gene :)

at least is the situation i had when programming the VariantFiltering 
package, i also could not find a one-liner solution but you might want 
to look to what i ended up doing there, in case it might be also useful 
for you.

you'll find it in the method "annotateVariants" that dispatches "OrgDb" 
objects (i.e., gene-centric annotation packages), within 
VariantFiltering/R/annotationEngine.R

if you take a look at it, do not hesitate to comment if you have any 
suggestion to improve this. i also look forward to the annotation-gurus 
feedback on this question :)

cheers,

robert.
On 06/18/2014 03:03 PM, Michael Lawrence wrote: