Description Usage Arguments Value Examples
View source: R/ThresholdingAlgo.R
This function performs a sliding window analysis on the chromatograms in order to identify peaks within the data. I would recommend to keep influence low in order to use adjacent peak lengths as a measure of peak width.
1 | ThresholdingAlgo(y, lag, threshold, influence)
|
y |
A numerical vector of measured chromatographic intensity values |
lag |
A scalar value of number of observations to calculate intensity prior to peak selection. |
threshold |
A number of standard deviations above chromatogram. Used to detect significantly observed peaks. |
influence |
A scalar values between 0-1 that describes how much the value of a peak (measured index value above threshold) should contribute to the sliding window analysis of downstream peaks. |
A list of calculated sliding window values.
1 2 3 4 5 6 7 | lag <- 25
threshold<- 3.1
influence <- 0.1
Autotuner <- readRDS(system.file("extdata/Autotuner.rds",
package="Autotuner"))
signals <- lapply(getAutoIntensity(Autotuner), ThresholdingAlgo,
lag, threshold, influence)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.