getDbRegionsLoc: Gets the region location for the given database IDs.

Description Usage Arguments Value Examples

View source: R/aux_getDbRegionsLoc.R

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

1
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

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

## End(Not run)

aertslab/RcisTarget documentation built on April 21, 2021, 9:46 a.m.