Software for Computing and Annotating Genomic Ranges
Figure 4
Illustration of overlap computations between two GRangesList objects.
Each set of rectangles linked by solid lines represents a compound range, i.e., an element of the list. Ranges in the query (top) are being matched against ranges in the subject (bottom). The labels between them indicate the type of overlap (any, within, none).