Reset consecutive intervals to starting at 1, bin_width
Source:R/GenomicHistogram-class.R
reset_consecutive_intervals.Rd
Reset consecutive intervals to starting at 1, bin_width
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)
}