flank_on_exons {exomePeak2} | R Documentation

## Flank ranges on exon coordinate.

### Description

This function provides extention of the ends of the GRangesList on transcript coordinate or exons.

### Usage

    flank_on_exons(grl, flank_length, txdb, index_flank = TRUE)

### Arguments

`grl` | a GRangesList object which is the target of the flanking.
`flank_length` | the length of the flanking regions (on both left and right).
`txdb` | the TxDb object for the transcript annotation.
`index_flank` | whether to store the flanking regions seperately; default TRUE.

### Value

A GRanges object with the extented ends on exons. The flanking regions and the binding regions are indexed by the names of the returned GRangesList. The original input GRangesList will be dropped if it is not mapped to the exonic regions.

[Package exomePeak2 version 1.6.1 Index]