about INCLUSIVE intersections of GRanges
Dear all,
Would appreciate your help with a simple question:
I am working with a set of GRanges : eg : (chr1: 100 - 200) and (chr1: 200 - 300)
and
I would like to get the OVERLAP/ INTERSECTION only the GRanges within a special interval :
eg : (chr1 : 0 - 250), in an INCLUSIVE WAY, namely only the interval (chr1: 100 - 200), that is completely included in the region (chr1 : 0 - 250) ..
is there any function in GRanges I could quickly use in this regard ? thank you ;) !
-- bogdan
• 2,418 views
•
link
1 answer
If I understand correctly your goal you can use `findOverlaps` with `within`
• 0 views
•
link
Log in to answer this question.
thanks, it works !