Skip to content
Prev 2655 / 21312 Next

[Bioc-devel] GRanges Unique [actually -- `order`] Method

On 06/15/2011 04:26 AM, Michael Lawrence wrote:
like nearest,GenomicRanges,GenomicRanges, which has ignore.strand=FALSE. 
For GRangesList maybe an easy approach is to add a first argument 
order(rep(seq_along(grl), elementLengths(grl)), ...) then unlist, order, 
and re-list.

Also not a fan of allowing the user to specify seqnames.order; you can't 
do this for factors, and sounds really like the user wants seqlevels(gr) 
<- ...

Martin