Skip to content

[Bioc-devel] ordering GenomicRanges without regard for strand

1 message · Hervé Pagès

#
Hi,

Just a quick update on this.

I added unstrand() to BiocGenerics 0.9.3. Following the same approach
as for unname(), I didn't make it a generic function, just a convenience
wrapper to the generic strand setter (?strand<-?):

   unstrand <- function(x)
   {
     strand(x) <- "*"
     x
   }

However I still decided to put it in BiocGenerics so it's close to the
generic strand getter and setter (and is documented in the same man 
page). Just seems the right place for it even though it's not a generic
function.

Still need to add the 'ignore.strand' arg to the "sort" method for
GRanges objects.

Cheers,
H.
On 12/17/2013 02:24 PM, Marcus Davy wrote: