ThresholdingAlgo: ThresholdingAlgo: function based on dispersion to peak peak...

View source: R/MLMSfunctions.R

ThresholdingAlgoR Documentation

ThresholdingAlgo: function based on dispersion to peak peak start times in time series data Code from: Robust peak detection algorithm (using z-scores) https://stackoverflow.com/questions/22583391/peak-signal-detection-in-realtime-timeseries-data?page=1&tab=votes#tab-top

Description

ThresholdingAlgo: function based on dispersion to peak peak start times in time series data Code from: Robust peak detection algorithm (using z-scores) https://stackoverflow.com/questions/22583391/peak-signal-detection-in-realtime-timeseries-data?page=1&tab=votes#tab-top

Usage

ThresholdingAlgo(y, lag, threshold, influence)

Arguments

y

intensity matrix (1 col)

lag

lag of the moving window

threshold

z-score at which the algorithm signals

influence

the influence (between 0 and 1) of new signals on the mean and standard deviation

Value

list of "signals", "avgFilter", "stdFilter" - signal times (signals) are of the most interest for MS purposes

Examples

Usage Example
ThresholdingAlgo(v44Int.mat,lag=10,threshold=5,influence=0.5)

lilyacb/MLMS documentation built on July 21, 2023, 4:12 a.m.