upstreamFromPerGroup {ORFik} | R Documentation

## Get rest of objects upstream (inclusive)

### Description

Per group get the part upstream of position. upstreamFromPerGroup(tx, stopSites(fiveUTRs, asGR = TRUE)) will return the 5' utrs per transcript as GRangesList, usually used for interesting parts of the transcripts.

### Usage

    upstreamFromPerGroup(tx, upstreamFrom)

### Arguments

`tx` | a `GRangesList`, usually of Transcripts to be changed
`upstreamFrom` | a vector of integers, for each group in tx, where is the new start point of first valid exon.

### Details

If you don't want to include the points given in the region, use `upstreamOfPerGroup`

### Value

a GRangesList of upstream part

### See Also

Other GRanges: `assignFirstExonsStartSite()`, `assignLastExonsStopSite()`, `downstreamFromPerGroup()`, `downstreamOfPerGroup()`, `upstreamOfPerGroup()`

[Package ORFik version 1.14.7 Index]