background_correction: Background correction

Description Usage Arguments Value Examples

View source: R/preprocessing.R

Description

Perform background correction on the spectra.

Usage

1

Arguments

dataset

list representing the dataset from a metabolomics experiment.

Value

Returns the dataset with background correction performed on the data.

Examples

1
2
3
4
  ## Example of background correction
  library(specmine.datasets)
  data(cachexia)
  cachexia.corrected = background_correction(cachexia)

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