View source: R/MLMSfunctions.R
ThresholdingAlgo | R 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
ThresholdingAlgo(y, lag, threshold, influence)
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 |
list of "signals", "avgFilter", "stdFilter" - signal times (signals) are of the most interest for MS purposes
Usage Example
ThresholdingAlgo(v44Int.mat,lag=10,threshold=5,influence=0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.