runningMean: Smooth data with running mean

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Smooth data with running mean

Usage

1
runningMean(x, winHalfSize = 2)

Arguments

x

A vector with the data.

winHalfSize

The smoothing window half size.

Value

A vector containing the smoothed data.

Examples

1
2
3
4
5
data(trainRegions)
celltypes = list("E123"=grep("E123", names(trainRegions)), 
        "E116"=grep("E116", names(trainRegions)))
sizeFactors = getSizeFactors(trainRegions, celltypes)
sizeFactors

STAN documentation built on Nov. 8, 2020, 11:11 p.m.