left_to_right_sliding_window_dna: Sliding window from left to right

View source: R/sliding-windows-dna.R

left_to_right_sliding_window_dnaR Documentation

Sliding window from left to right

Description

Applies a function to window that can slide across a timeseries from left to right, i.e. from a read's beginning to it end. Acknowledgment: evobiR tool

Usage

left_to_right_sliding_window_dna(FUN, data, window_size, step_size)

Arguments

FUN

Function to apply to each window's data

data

Timeseries data to which to apply the sliding window

window_size

Size of the window

step_size

Step-size of the sliding window

Value

A signal that has been smoothed using the sliding window.


adnaniazi/tailfindr documentation built on March 23, 2024, 7:07 a.m.