Map Reactome/GO term to ID

term2id(term, db = "Reactome", species = NULL)

Arguments

term

Reactome/GO term

db

Database to use for mapping. One of:

  • "Reactome" - Default

  • "GO"

species

Character specifying species. If specified, one of:

  • "Hs"

  • "Mm"

Value

Reactome/GO ID

Author

Nicholas Mikolajewicz

Examples


# map GO term to GO id
id <- term2id(term, db = "GO", species = "Hs")
#> Error in term2id(term, db = "GO", species = "Hs"): could not find function "term2id"

# get geneset for specified GO id (returns character of genes)
gene.set <- id2geneset(id, "Hs")
#> Error in id2geneset(id, "Hs"): could not find function "id2geneset"