i have two Large GRanges object and i try to find ranges which are only in one object. So i think i am looking for opposite function to findOverlaps. Is it any easy way to do it?
What exactly do you mean by "in"? To find ranges in "a" that do not overlap any range in "b", do a %outside% b. Or, if you want to know which ranges in "a" are not exactly matched in "b", do !(a %in% b). Both of those return logical subscripts that you can use to extract the ranges unique to "a". Just reverse the operation to find those unique to "b".
Thank you very much! Now i see it wasn't best idea in this case but it may be usefull in the future.