Get synonyms for a term
Examples
goref <- semsql_connect(ontology = "go")
#> Connected to SemanticSQL database: /Users/vincentcarey/Library/Caches/org.R-project.R/R/BiocFileCache/40e293b372b_go.db
#> Primary ontology prefix: GO
get_synonyms(goref, "GO:0006915")
#> [1] subject predicate synonym
#> <0 rows> (or 0-length row.names)
get_synonyms(goref, "GO:0006915", type = "exact")
#> subject predicate synonym
#> 1 GO:0006915 oio:hasExactSynonym apoptotic cell death
#> 2 GO:0006915 oio:hasExactSynonym apoptotic programmed cell death
#> 3 GO:0006915 oio:hasExactSynonym programmed cell death by apoptosis
disconnect(goref)
#> Disconnected from '40e293b372b_go.db'