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


JokingHero/ORFik documentation built on Dec. 21, 2024, 12:01 a.m.