assignLastExonsStopSite {ORFik} | R Documentation

## Reassign the stop positions of the last exons per group

### Description

make sure your grl is sorted, since stop of "-" strand objects should be the min start in group, use ORFik:::sortPerGroup(grl) to get sorted grl.

### Usage

    assignLastExonsStopSite(grl, newStops)

### Arguments

`grl` | a `GRangesList` object
`newStops` | an integer vector of same length as grl, with new start values

### Value

the same GRangesList with new stop sites

### See Also

Other GRanges: `assignFirstExonsStartSite`, `downstreamFromPerGroup`, `downstreamOfPerGroup`, `upstreamFromPerGroup`, `upstreamOfPerGroup`

[Package ORFik version 1.4.1 Index]