loadRegionDB: Helper function to annotate and load a regionDB, a folder...

Description Usage Arguments Value Examples

View source: R/loadRegionDB.R

Description

Helper function to annotate and load a regionDB, a folder with subfolder collections of regions.

Usage

1
loadRegionDB(dbLocation, useCache = TRUE, limit = NULL, collections = NULL)

Arguments

dbLocation

folder where your regionDB is stored, or list of such folders

useCache

uses simpleCache to cache and load the results

limit

You can limit the number of regions for testing. Default: NULL (no limit)

collections

Restrict the database loading to this list of collections

Value

regionDB list containing database location, region and collection annotations, and regions GRangesList

Examples

1
2
dbPath = system.file("extdata", "hg19", package="LOLA")
regionDB = loadRegionDB(dbLocation=dbPath)

nsheff/LOLA documentation built on Sept. 8, 2020, 11:50 a.m.