Gets the genomic segments that are complementary to the gaps, with default chromosome boundaries being -Inf
and +Inf.
# S3 method for data.frame
gapsToSegments(gaps, resolution=1L, minLength=0L, dropGaps=FALSE, ...)Returns data.frame of least one row with columns chromosome
if that argument is given), start, stop and length.
The segments are ordered along the genome.
A data.frame with columns chromosome, start,
and stop. Any overlapping gaps will throw an error.
A non-negative numeric specifying the minimum
length unit, which by default equals one nucleotide/base pair.
Minimum length of segments to be kept.
If TRUE, the gaps themselves are not part of the output.
Not used.
Henrik Bengtsson
findLargeGaps().