Get gaps in GRanges

getGRgaps(gr, strandSpecific = TRUE, verbose = FALSE, ...)

Arguments

gr

GRanges object

strandSpecific

logical indicating whether to convert strand to "*" prior to determining gaps between features.

verbose

logical indicating whether to print verbose output.

...

additional arguments are passed to getGRLgaps().

Details

This function returns the gaps between GRanges regions, calculated for each chromosome (using GenomicRanges::seqnames(gr)), and when strandSpecific=TRUE it determines gaps in stranded fashion.

See also