Databases are resources which might be costly to load but can be used many times by functions which usually automatically load and retrieve them from the database manager. Each database has a lifetime and will be unloaded automatically upon expiry.
Examples
database_definitions <- omnipath_show_db()
database_definitions
#> # A tibble: 23 × 10
#> name last_used lifetime package loader loader_param latest_param
#> <chr> <dttm> <dbl> <chr> <chr> <list> <list>
#> 1 Gene O… 2024-04-07 17:01:07 300 Omnipa… go_on… <named list> <named list>
#> 2 Gene O… NA 300 Omnipa… go_on… <named list> <lgl [1]>
#> 3 Gene O… NA 300 Omnipa… go_on… <named list> <lgl [1]>
#> 4 Gene O… NA 300 Omnipa… go_on… <named list> <lgl [1]>
#> 5 Gene O… 2024-04-07 17:05:01 300 Omnipa… go_on… <named list> <named list>
#> 6 Gene O… NA 300 Omnipa… go_on… <named list> <lgl [1]>
#> 7 Gene O… NA 300 Omnipa… go_on… <named list> <lgl [1]>
#> 8 Gene O… NA 300 Omnipa… go_on… <named list> <lgl [1]>
#> 9 Gene O… NA 300 Omnipa… go_on… <named list> <lgl [1]>
#> 10 Gene O… NA 300 Omnipa… go_on… <named list> <lgl [1]>
#> # ℹ 13 more rows
#> # ℹ 3 more variables: loaded <lgl>, db <list>, key <chr>
# # A tibble: 14 x 10
# name last_used lifetime package loader loader_p.
# <chr> <dttm> <dbl> <chr> <chr> <list>
# 1 Gene Onto. 2021-04-04 20:19:15 300 Omnipat. go_ontol. <named l.
# 2 Gene Onto. NA 300 Omnipat. go_ontol. <named l.
# 3 Gene Onto. NA 300 Omnipat. go_ontol. <named l.
# 4 Gene Onto. NA 300 Omnipat. go_ontol. <named l.
# 5 Gene Onto. NA 300 Omnipat. go_ontol. <named l.
# ... (truncated)
# # . with 4 more variables: latest_param <list>, loaded <lgl>, db <list>,
# # key <chr>