slideWindows {pGRN}R Documentation

Sliding Window Average

Description

Get sliding windows average values for given vector/list

Usage

slideWindows(data, window = 2, step = 1)

Arguments

data

list of expression

window

sliding window size

step

sliding window step size

Value

list/vector of sliding windows with average expression value

Examples

slideWindows(c(1:1000),window=200,step=100)
slideWindows(c(1:1000),window=100,step=50)


[Package pGRN version 0.3.5 Index]