Get direct superclasses of a term
get_direct_superclasses(x, term_id, ...)data.frame with columns id and label, ordered by
label.
goref <- semsql_connect(ontology = "go")
#> Connected to SemanticSQL database: /home/runner/.cache/R/BiocFileCache/51aa7efd341e_go.db
#> Primary ontology prefix: GO
get_direct_superclasses(goref, "GO:0006915")
#> id label
#> 1 GO:0012501 programmed cell death
disconnect(goref)
#> Disconnected from '51aa7efd341e_go.db'