[BioC] problem with getGOOntology

Francois Pepin fpepin at cs.mcgill.ca
Thu Apr 7 23:46:47 CEST 2005

> I didn't find a function getGOontology.  Can you post a little 
> self-contained piece of code that mimics the problem?

It's in GOstats.

> getGOOntology
function (x)
    if (!is.character(x))
        stop("need a character argument")
    if (length(x) == 0)
    wh <- mget(x, env = GOTERM, ifnotfound = NA)
    return(sapply(wh, Ontology))

More information about the Bioconductor mailing list