upstreamOfPerGroup {ORFik} | R Documentation |
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
upstreamOfPerGroup(tx, upstreamOf)
tx |
a |
upstreamOf |
a vector of integers, for each group in tx, where is the new stop point of last valid exon. |
a GRangesList of upstream part