getTargetFromLolaDb {RnBeads} | R Documentation

## getTargetFromLolaDb

### Description

retrieve or guess the target from a LOLA DB object. Here, target typically refers to antibodies for ChIP-seq experiments, but could also refer to other annotations (e.g. motifs in TF motif databases, annotation according to UCSC features etc.)

### Usage

    getTargetFromLolaDb(lolaDb)

### Arguments

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

### Value

character vector with targets

### Author(s)

Fabian Mueller

### Examples

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

[Package RnBeads version 2.2.0 Index]