Calculate The Overlap Between Peaks and Promoters
Source:R/metafeature_funcs.R
bb_promoter_overlap.Rd
For a given GRanges object containing peaks, determine how many peaks overlap promoters, how many promoters are overlapped by peaks and the significance of enrichment of query peaks relative to promoters.
Usage
bb_promoter_overlap(query, tss = c("hg38_tss", "dr11_tss"), width = 200)