Retrieves the NeoSplice fusion database, loading it only once when first needed.

Retrieves (and caches) the NeoSplice fusion database. If a file path is provided, it is loaded and parsed; otherwise, a default database (bundled with the package) is used.

get_neosplice_db(
  db_file = system.file("extdata", "fusions/NeoSplice_hg38_inframe_fusion.txt.gz",
    package = "pacbiowdlR"),
  force_reload = FALSE,
  verbose = F
)

get_neosplice_db(
  db_file = system.file("extdata", "fusions/NeoSplice_hg38_inframe_fusion.txt.gz",
    package = "pacbiowdlR"),
  force_reload = FALSE,
  verbose = F
)

Arguments

db_file

Character or NULL. Optional file path to the NeoSplice database file.

force_reload

Logical. If TRUE, forces reloading of the database even if cached (default: FALSE).

verbose

Logical. if TRUE, will provide messaging.

Value

A data frame containing the NeoSplice fusion database

A data frame containing the NeoSplice fusion database entries.