getNamesFromLolaDb {RnBeads} | R 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)

[Package RnBeads version 2.4.0 Index]