Find which target regions overlap a query region
Value
Integer vector of 1-based indices into targets that overlap
the query. Empty integer vector if no overlaps.
Examples
query <- "chr1:100-200"
targets <- c("chr1:150-250", "chr1:300-400")
findOverlappingRegions(query = query, targets = targets)
#> [1] 1