Something like:

gr[!gr %in% excluded]

Another option is setdiff() but note that will generate a new set of
sorted, non-overlapping, non-adjacent ("normal") ranges.

Michael


On Thu, Dec 13, 2012 at 9:01 AM, Hermann Norpois <hnorpois@googlemail.com>wrote:

> Hello,
>
> having a GRanges object I was looking for a function to exclude all
> overlapping intervals. So I get exclusively intervals that do not overlap.
> But I did not find a proper function. Has anybody an idea?
> Thanks
> Hermann
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor@r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>

	[[alternative HTML version deleted]]

