Question: Non overlaps seqence
0
gravatar for Marcin Grzybowski
4.0 years ago by
Poland
Marcin Grzybowski0 wrote:

Hi,

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?

Thx for any advice.

Best,

MarcinĀ 

granges • 473 views
ADD COMMENTlink modified 4.0 years ago by Michael Lawrence11k • written 4.0 years ago by Marcin Grzybowski0
Answer: Non overlaps seqence
1
gravatar for Michael Lawrence
4.0 years ago by
United States
Michael Lawrence11k wrote:

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".

ADD COMMENTlink written 4.0 years ago by Michael Lawrence11k

Thank you very much! Now i see it wasn't best idea in this case but it may be usefull in the future.

ADD REPLYlink modified 4.0 years ago • written 4.0 years ago by Marcin Grzybowski0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 202 users visited in the last hour