load_geneset_database: Load a cached curated gene-set database

View source: R/data-access-io-prepare.R

load_geneset_databaseR Documentation

Load a cached curated gene-set database

Description

Type-safe wrapper around load_database() with a gene-set-specific signature.

Usage

load_geneset_database(
  id,
  version = NULL,
  cache_dir = NULL,
  case_sensitive = FALSE,
  verbose = TRUE
)

Arguments

id

Catalog identifier from available_databases().

version

Database release specified by the catalog. By default, the release associated with id is used.

cache_dir

Cache root. Download functions require an explicit path; read-only loaders use the package user cache when it is NULL.

case_sensitive

Preserve identifier case.

verbose

Report validation, parsing progress, and final object sizes.

Value

The loaded gene-set collection. Use manifest() for provenance.

See Also

download_geneset_database(), import_gene_sets()

Examples

## Not run: 
pathways <- load_geneset_database("reactome_pathways")
length(pathways)

## End(Not run)

NEArender documentation built on Nov. 28, 2026, 5:10 p.m.