Description Usage Arguments Details Value Examples
A faster, more versatile reimplementation of
sort.GenomicRanges
for GRangesList,
needed since the original works poorly for more than 10k groups.
This function sorts each group, where "+" strands are
increasing by starts and "-" strands are decreasing by ends.
1 | sortPerGroup(grl, ignore.strand = FALSE, quick.rev = FALSE)
|
grl |
a |
ignore.strand |
a boolean, (default FALSE): should minus strands be sorted from highest to lowest ends. If TRUE: from lowest to highest ends. |
quick.rev |
default: FALSE, if TRUE, given that you know all ranges are sorted from min to max for both strands, it will only reverse coordinates for minus strand groups, and only if they are in increasing order. Much quicker |
Note: will not work if groups have equal names.
an equally named GRangesList, where each group is sorted within group.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.