getNamesFromLolaDb: getNamesFromLolaDb

View source: R/lolaUtils.R

getNamesFromLolaDbR Documentation

getNamesFromLolaDb

Description

get human readable names from a LOLA DB object

Usage

getNamesFromLolaDb(lolaDb, addCollectionNames = FALSE, addDbId = TRUE)

Arguments

lolaDb

LOLA DB object as returned by LOLA::loadRegionDB or loadLolaDbs

addCollectionNames

attach the name of the collection to the name

addDbId

attach the index of the item in the LOLA DB object to the name

Value

character vector with human readable names

Author(s)

Fabian Mueller

Examples


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


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