data_correction: Data correction

Description Usage Arguments Value

Description

Perform spectra corrections with 3 different methods.

Usage

1
2
data_correction(dataset, type = "background", 
method = "modpolyfit", ...)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

type

string that represents the type of correction that will be applied to the spectra. The three possible types are: "background", to perform background correction; "offset", to perform offset correction; and "baseline", to perform baseline correction.

method

string parameter of baseline correction indicating the correction method.

...

additional parameters of baseline correction.

Value

Returns the dataset with the spectra corrected.


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