Me personally, I have an unstrand() function lying around in a LOT of
scripts, so in my opinion it would indeed be nice for this to be supported
generically.


*He that would live in peace and at ease, *
*Must not speak all he knows, nor judge all he sees.*

Benjamin Franklin, Poor Richard's
Almanack<http://archive.org/details/poorrichardsalma00franrich>


On Thu, Dec 12, 2013 at 1:44 PM, Michael Lawrence <lawrence.michael@gene.com
> wrote:

> It is very common to want to order a GenomicRanges by *position* but not
> strand. Would be nice to have an ignore.strand argument for ordering
> GenomicRanges. I realize that this is not possible by the order generic.
> But it would be possible for sort().
>
> I also realize that someone could do this:
>
> gr2 <- gr
> strand(gr2) <- "*"
> gr[order(gr2)]
>
> But that is long-winded. Perhaps there could be an unstrand()?
>
> gr[order(unstrand(gr))]
>
> But this is still better:
>
> sort(gr, ignore.strand=TRUE)
>
> Sound like a good thing?
>
> Michael
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>

	[[alternative HTML version deleted]]

