upstreamFromPerGroup: Get rest of objects upstream (inclusive)

Description Usage Arguments Details Value See Also

View source: R/gr_positions.R

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

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


ORFik documentation built on March 27, 2021, 6 p.m.