assignFirstExonsStartSite | R Documentation |
Per group in GRangesList, assign the most upstream site.
assignFirstExonsStartSite(
grl,
newStarts,
is.circular = all(isCircular(grl) %in% TRUE)
)
grl |
a |
newStarts |
an integer vector of same length as grl, with new start values (absolute coordinates, not relative) |
is.circular |
logical, default FALSE if not any is: all(isCircular(grl) Where grl is the ranges checked. If TRUE, allow ranges to extend below position 1 on chromosome. Since circular genomes can have negative coordinates. |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.