getBioRegion {ChIPseeker} | R Documentation

## getBioRegion

### Description

prepare a bioregion of selected feature

### Usage

    getBioRegion(
      TxDb = NULL,
      upstream = 1000,
      downstream = 1000,
      by = "gene",
      type = "start_site"
    )

### Arguments

`TxDb` | TxDb
`upstream` | upstream from start site
`downstream` | downstream from start site
`by` | one of 'gene', 'transcript', 'exon', 'intron' , '3UTR' , '5UTR'
`type` | one of "start_site", "end_site", "body"

### Details

this function combined previous functions getPromoters(),getBioRegion(),getGeneBody() https://github.com/GuangchuangYu/ChIPseeker/issues/16 https://github.com/GuangchuangYu/ChIPseeker/issues/87

### Value

GRanges object

### Author(s)

Guangchuang Yu, Ming L

[Package ChIPseeker version 1.30.3 Index]