Skip to contents

Get direct superclasses of a term

Usage

get_direct_superclasses(x, ...)

Arguments

x

A SemsqlConn object.

term_id

character(1) CURIE.

Value

data.frame with columns id and label, ordered by label.

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_direct_superclasses(goref, "GO:0006915")
#>           id                 label
#> 1 GO:0012501 programmed cell death
disconnect(goref)
#> Disconnected from '40e293b372b_go.db'