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()
print(object)
#> DataFrame with 38092 rows and 2 columns
#>                id                   name
#>       <character>            <character>
#> 1      GO:0000001 mitochondrion inheri..
#> 2      GO:0000006 high-affinity zinc t..
#> 3      GO:0000007 low-affinity zinc io..
#> 4      GO:0000009 alpha-1,6-mannosyltr..
#> 5      GO:0000010 heptaprenyl diphosph..
#> ...           ...                    ...
#> 38088  GO:7770084 CLIC/GEEC-mediated e..
#> 38089  GO:7770085 protocatechuate 3,4-..
#> 38090  GO:7770086 resveratrol dioxygen..
#> 38091  GO:7770087 sodium channel activ..
#> 38092  GO:7770088 endoplasmic reticulu..