getDbRegionsLoc {RcisTarget} | R Documentation

## Gets the region location for the given database IDs.

### Description

Gets the region location based on the region ID. Only needed for drosophiladrosophila (fruit fly) regions.

For human/mouse the region locations are stored in a separate object (i.e. ). This function is not needed.

### Usage

    getDbRegionsLoc(featherFilePath, spltChr = "__", indexCol = NULL)

### Arguments

`featherFilePath` | Path to the rankings database
`spltChr` | Character(s) used to split the prefix from the region location. The default is used for current Drosophila versions. Use NULL to skip.

### Value

The region locations in a GRanges object, with the original region ID as name.

See the package vignette for examples and more details: `vignette("RcisTarget")`

### Examples

    ## Not run:
    featherFilePath <- "~/databases/dm6-regions-11species.mc9nr.feather"
    dbRegionsLoc <- getDbRegionsLoc(featherFilePath)

    ## End(Not run)

[Package RcisTarget version 1.14.0 Index]