R/utils.R
nearby_interactions.Rd
Get nearby interactions for enhancer regions near promoters
nearby_interactions(enhancer_regions, promoters, max.dist = 20000)
A GRanges object of enhancer regions
A GRanges object of promoters
Max distance between enhancer regions and promoters (default: 20kb)
A GRanges object of nearby interactions