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

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

Examples


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