Skip to contents

Test whether two genomic regions overlap

Usage

regionsOverlap(regionA, regionB)

Arguments

regionA

A region string ("chr1:100-200" or "1_100_200") or a single-row data.frame with chrom/start/end columns.

regionB

A region string or single-row data.frame.

Value

Logical scalar: TRUE if the regions share at least one base pair.