subset gGraph on overlaps

# S4 method for gGraph
%&%(x, y)

Arguments

x

a gGraph

y

a GRanges or string coercible to one

Value

the portion of the gGraph that overlaps y (with loose ends wherever nodes / edges are broken)