Skip to contents

Reset consecutive intervals to starting at 1, bin_width

Usage

reset_consecutive_intervals(x)

Arguments

x

GenomicHistogram object

Value

a GenomicHistogram object where consecutive_start is reset to 1 and consecutive_end is reset to bin_width

Examples

if (FALSE) {
x <- GenomicHistogram(c(1,2,3,4,5))
x <- x[3:5]
reset_consecutive_intervals(x)
}