Lists the region sets for given collection(s) in a region database on disk.

listRegionSets(regionDB, collections = NULL)

Arguments

regionDB

File path to region database

collections

(optional) subset of collections to list

Value

a list of files in the given collections

Examples

dbPath = system.file("extdata", "hg19", package="LOLA") listRegionSets(dbPath)
#> Reading collection annotations:
#> ucsc_example: found collection annotation:/sfs/lustre/scratch/ns5bc/code/LOLA/inst/extdata/hg19/ucsc_example/collection.txt
#> Reading region annotations...
#> ::Loading cache:: /sfs/lustre/scratch/ns5bc/code/LOLA/inst/extdata/hg19/ucsc_example//ucsc_example_files.RData
#> [1] "cpgIslandExt.bed" "laminB1Lads.bed" #> [3] "numtSAssembled.bed" "vistaEnhancers.bed" #> [5] "vistaEnhancers_colNames.bed"