upstreamFromPerGroup: Get rest of objects upstream (inclusive)

View source: R/gr_positions.R

upstreamFromPerGroupR 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()


Roleren/ORFik documentation built on Oct. 19, 2024, 7:37 a.m.