term2id.Rd
Map Reactome/GO term to ID
term2id(term, db = "Reactome", species = NULL)
Reactome/GO term
Database to use for mapping. One of:
"Reactome" - Default
"GO"
Character specifying species. If specified, one of:
"Hs"
"Mm"
Reactome/GO ID
# 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"