Description Usage Arguments Details Value
View source: R/single_peak_features.R
Subtracts a constant value to a vector and return the maximum value of the difference.
1 | FeatMaxAmplitude(y, basal = min(y))
|
y |
a numerical vector |
basal |
value to be subtracted for the signal to obtain height of the peak as amplitude instead of absolute value |
Interest over FetDiffMinMax, is that min(y) might be an outlier, or not really at the base of the peak. If basal = min(y); the result is strictly equivalent to FeatDiffMinMax.
list of 2: "max": maximum value of y after subtracting basal from it; "time.max": index at which $max is reached.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.