upstreamOfPerGroup {ORFik} | R Documentation

## Get rest of objects upstream

### Description

Per group get the part upstream of position defined in upstreamOf upstream(tx, ORFik:::stopSites(cds, asGR = F)) will return the 5' utrs per transcript, usually used for interesting parts of the transcripts, like upstream open reading frames(uorf). downstreamOf +/- 1 is start/end site of transformed tx's, depending on strand

### Usage

    upstreamOfPerGroup(tx, upstreamOf)

### Arguments

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

### Value

a GRangesList of upstream part

[Package ORFik version 1.0.0 Index]