right_to_left_sliding_window_dna: Sliding window from right to left.

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

right_to_left_sliding_window_dnaR Documentation

Sliding window from right to left.

Description

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

Usage

right_to_left_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.