Helper function to check that a GInteractions object has been binned

check_binned(x, res)

Arguments

x

GInteractions object.

res

Integer - resolution in base-pairs.