Skip to contents

Represent a single segment as a set of intervals

Usage

extract_segments(iranges)

Arguments

iranges

an IRanges object with intervals representing intervals of a single segment

Value

a list with the following data representing a single segment

start

the interval start of the segment

end

the interval end of the segment

interval_count

The number of intervals in the segment - used for collapsing disjoint intervals

interval_sizes

The width of each interval

interval_starts

The start index of each interval