getCellTypesFromLolaDb {RnBeads} | R Documentation

## getCellTypesFromLolaDb

### Description

retrieve or guess cell types from a LOLA DB object

### Usage

    getCellTypesFromLolaDb(lolaDb)

### Arguments

`lolaDb` | LOLA DB object as returned by `LOLA::loadRegionDB` or `loadLolaDbs`

### Value

character vector with cell types

### Author(s)

Fabian Mueller

### Examples

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

[Package RnBeads version 1.12.1 Index]