Skip to content
Prev 2499 / 21312 Next

[Bioc-devel] [BioC] lookUp for other terminologies

On 03/07/2011 07:50 AM, Matthew Pocock wrote:
I wonder if you could be a bit more specific about the tasks you're
trying to accomplish? It sounds like you have an AnnDb object of some
kind, and can use the AnnDb API to manipulate it, e.g., mget("sym",
mymap). The problem seems to be in use of functions, like lookUp in this
particular case but probably in many other places, that try to construct
the map from character strings "DO" and "CHILDREN".

One could modify getAnnMap to also look, as a last resort, on the
search() path for the named symbol of appropriate type. Maybe this is
too much addressing the symptom rather than problem.

Also, fwiw, the 'envir' referenced below is just a variable name; the
mget method defined in AnnotationDbi dispatches on that variable to
handle AnnDb objects.

Martin