gSort | R Documentation |
A helper for [sortPerGroup()]. A faster, more versatile reimplementation of GenomicRanges::sort() Normally not used directly. Groups first each group, then either decreasing or increasing (on starts if byStarts == T, on ends if byStarts == F)
gSort(grl, decreasing = FALSE, byStarts = TRUE)
grl |
a |
decreasing |
should the first in each group have max(start(group)) ->T or min-> default(F) ? |
byStarts |
a logical T, should it order by starts or ends F. |
an equally named GRangesList, where each group is sorted within group.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.