slidingWindowCorrelation: Compute the correlation between rows in a matrix using a...

Description Usage Arguments Value

View source: R/slidingWindowCorrelation.R

Description

Compute the correlation between rows in a matrix using a sliding window.

Usage

1
slidingWindowCorrelation(trace.mat, window.size, score = "pearson")

Arguments

trace.mat

A numeric matrix where rows correspond to the different traces.

window.size

Size of the window. Numeric.

Value

A vector of length 'ncol(trace.mat) where each element corresponds to a mean correlation within the window at that position.


hafenr/MACode documentation built on May 17, 2019, 2:24 p.m.