downstreamOfPerGroup: Get rest of objects downstream (exclusive)

View source: R/gr_positions.R

downstreamOfPerGroupR Documentation

Get rest of objects downstream (exclusive)

Description

Per group get the part downstream of position. downstreamOfPerGroup(tx, stopSites(cds, asGR = TRUE)) will return the 3' utrs per transcript as GRangesList, usually used for interesting parts of the transcripts.

Usage

downstreamOfPerGroup(tx, downstreamOf)

Arguments

tx

a GRangesList, usually of Transcripts to be changed

downstreamOf

a vector of integers, for each group in tx, where is the new start point of first valid exon. Can also be a GRangesList, then stopsites will be used.

Details

If you want to include the points given in the region, use downstreamFromPerGroup

Value

a GRangesList of downstream part

See Also

Other GRanges: assignFirstExonsStartSite(), assignLastExonsStopSite(), downstreamFromPerGroup(), upstreamFromPerGroup(), upstreamOfPerGroup()


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