flank_on_exons: Flank ranges on exon coordinate.

Description Usage Arguments Value

View source: R/flank_on_exons.R

Description

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

Usage

1
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.


exomePeak2 documentation built on Nov. 8, 2020, 5:27 p.m.