return a SQLite connection (read only) to an INCAtools Semantic SQL ontology
Source:R/retrieve_semsql.R
retrieve_semsql_conn.Rdreturn a SQLite connection (read only) to an INCAtools Semantic SQL ontology
Usage
retrieve_semsql_conn(
ontology = "efo",
cache = BiocFileCache::BiocFileCache(),
cacheid = NULL,
...
)Examples
# first time will involve a download and decompression
aionto = retrieve_semsql_conn("aio")
head(DBI::dbListTables(aionto))
#> [1] "all_problems" "annotation_property_node"
#> [3] "anonymous_class_expression" "anonymous_expression"
#> [5] "anonymous_individual_expression" "anonymous_property_expression"
dplyr::tbl(aionto, "class_node") |> head()
#> # Source: SQL [?? x 1]
#> # Database: sqlite 3.51.2 [/home/vincent/.cache/R/BiocFileCache/b2422b2bbf70_aio.db]
#> id
#> <chr>
#> 1 aio:AbstractRNNCell
#> 2 aio:ActivationLayer
#> 3 aio:ActiveLearning
#> 4 aio:ActivityBias
#> 5 aio:ActivityRegularizationLayer
#> 6 aio:AdaptiveAvgPool1DLayer