Description Usage Arguments Value Examples
Function to find the reference baseline in a fluorescence traceplot. The algorithm operates as follows: - First, it searches for the minimum value within the time series. - Second, removes $k$-neightbours before and after. - Third repeats $n$-times. - Fourth, fit a regression line to the filtered points.
The difference between the linear base liner and elastic baseliner is the regression method during the last step of the algorithm. In hte linear baseline uses the lm method while the elastic baseline relieas on a gam model.
1 | linear_baseline(x, n_points = 20L, k = 5L, filter_lows = TRUE)
|
x |
'numeric': time series to find the baseline. |
n_points |
'integer': number of points to calculate the baseline. |
k |
'integer': number of points to clear each iteration. |
filter_lows |
'logic': whether or do a linear fitting to remove values above the trend. |
A list with three items: The estimated baseline, the adjusted residual value and the relative value.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.