loadLolaDbs: loadLolaDbs

View source: R/lolaUtils.R

loadLolaDbsR Documentation

loadLolaDbs

Description

Load LOLA databases from disk and merge them

Usage

loadLolaDbs(lolaDbPaths, collections = NULL)

Arguments

lolaDbPaths

vector of names of LOLA DB paths to be loaded

collections

Restrict the database loading to this list of collections. passed to LOLA::loadRegionDB

Value

LOLA DB list as returned by LOLA::loadRegionDB

Author(s)

Fabian Mueller

Examples


# download LOLA DB
lolaDest <- tempfile()
dir.create(lolaDest)
lolaDirs <- downloadLolaDbs(lolaDest, dbs="LOLACore")
lolaDb <- loadLolaDbs(lolaDirs[["hg19"]])


demuellae/muRtools documentation built on Sept. 8, 2023, 4:32 p.m.