Skip to contents

Helper function to generate sliding window coordinates.

Usage

.get_window_coords(total_length, window_size, step_size)

Arguments

total_length

Integer length of sequence

window_size

Integer size of sliding window

step_size

Integer step size for sliding window

Value

Data frame with window coordinates