Skip to contents

Map gene ontology (GO) identifiers to term names

Usage

mapGoTerms()

Value

DFrame. Contains "id" and "name" columns.

Note

Updated 2023-12-13.

Alternative approach using GO.db package

This supports lookup of specific keys.


library(GO.db)
keys <- c("GO:0000001", "GO:0000002")
object <- select(
    x = GO.db,
    keys = keys,
    columns = c("GOID", "TERM"),
    keytype = "GOID"
)

See also

  • Bioconductor GO.db package.

  • https://geneontology.org/docs/download-ontology/

  • https://www.biostars.org/p/9552810/

Examples

object <- mapGoTerms()
#> Error in h(simpleError(msg, call)): error in evaluating the argument 'con' in selecting a method for function 'import': formal argument "USE.NAMES" matched by multiple actual arguments
print(object)
#> Error: object 'object' not found