[BioC] problem with getGOOntology

Sean Cory scory at mcb.mcgill.ca
Thu Apr 7 23:20:15 CEST 2005

I have two problems with the function getGOontology in package GOstats
(version 1.1.2)

1) the environment GOTERM is not up date, this is a valid GO term (ION
BINDING) which does not appear.

> mget('GO:0043167', env = GOTERM, ifnotfound = NA)
[1] NA

2) the funcion getGOontology's documentation states that 'NA' will be
returned for incorrect terms, this is not the case. It returns an error
due to the last line in the function:

    return(sapply(wh, Ontology))

Doing the sapply on an 'NA' return an error

Sean Cory

More information about the Bioconductor mailing list