getTargetFromLolaDb: getTargetFromLolaDb

View source: R/lolaUtils.R

getTargetFromLolaDbR 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)


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