gdataset.load: Load a dataset into the namespace

View source: R/dataset.R

gdataset.loadR Documentation

Load a dataset into the namespace

Description

Loads tracks and intervals from a dataset directory, making them available for analysis alongside the working database.

Usage

gdataset.load(path, force = FALSE, verbose = FALSE)

Arguments

path

Path to a dataset or misha database directory

force

If TRUE, ignore name collisions (working db wins; for dataset-to-dataset, later-loaded wins)

verbose

If TRUE, print loaded track/interval names and summary counts

Value

Invisibly returns a list with:

tracks

Number of visible tracks loaded

intervals

Number of visible intervals loaded

shadowed_tracks

Number of tracks shadowed by collisions

shadowed_intervals

Number of intervals shadowed by collisions

See Also

gdataset.unload, gdataset.save, gdataset.ls

Examples



dataset_path <- gdataset.example_path()
gdataset.load(dataset_path)
gdataset.unload(dataset_path)


misha documentation built on Jan. 28, 2026, 1:07 a.m.