assignFirstExonsStartSite {ORFik}R Documentation

Reassign the start positions of the first exons per group in grl

Description

Per group in GRangesList, assign the most upstream site.

Usage

assignFirstExonsStartSite(grl, newStarts)

Arguments

grl

a GRangesList object

newStarts

an integer vector of same length as grl, with new start values (absolute coordinates, not relative)

Details

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.

Value

the same GRangesList with new start sites

See Also

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


[Package ORFik version 1.6.9 Index]