Skip to contents

Retrieve the ontology prefix from a SemsqlConn

Usage

get_prefix(x, ...)

Arguments

x

A SemsqlConn object.

Value

character(1) the primary ontology prefix (e.g. "GO").

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_prefix(goref)
#> [1] "GO"
disconnect(goref)
#> Disconnected from '40e293b372b_go.db'