savitzky_golay: Savitzky-golay transformation

Description Usage Arguments Value

View source: R/preprocessing.R

Description

Smoothing and derivative of the data using Savitzky-Golay.

Usage

1
savitzky_golay(dataset, p.order, window, deriv = 0)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

p.order

integer value representing the polynomial order.

window

odd number indicating the window size.

deriv

integer value indicating the differentiation order.

Value

Returns the dataset with the spectra smoothed using Savitzky-Golay.


specmine documentation built on Sept. 21, 2021, 5:06 p.m.