flankPerGroup {ORFik} | R Documentation

## Get flanks per group

### Description

For a GRangesList, get start and end site, return back as GRL.

### Usage

    flankPerGroup(grl)

### Arguments

`grl` | a `GRangesList`

### Value

a GRangesList, 1 GRanges per group with: start as minimum start of group and end as maximum per group.

### Examples

    grl <- GRangesList(tx1 = GRanges("1", IRanges(c(1,5), width = 2), "+"),
                       tx2 = GRanges("2", IRanges(c(10,15), width = 2), "+"))
    flankPerGroup(grl)

[Package ORFik version 1.14.7 Index]