assignFirstExonsStartSite {ORFik} | R Documentation |
Per group in GRangesList, assign the most upstream site.
assignFirstExonsStartSite(grl, newStarts)
grl |
a |
newStarts |
an integer vector of same length as grl, with new start values (absolute coordinates, not relative) |
make sure your grl is sorted, since start of "-" strand objects should be the max end in group, use ORFik:::sortPerGroup(grl) to get sorted grl.
the same GRangesList with new start sites
Other GRanges:
assignLastExonsStopSite()
,
downstreamFromPerGroup()
,
downstreamOfPerGroup()
,
upstreamFromPerGroup()
,
upstreamOfPerGroup()