Learn R Programming

specmine (version 3.1.6)

background_correction: Background correction

Description

Perform background correction on the spectra.

Usage

background_correction(dataset)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

Value

Returns the dataset with background correction performed on the data.

Examples

Run this code
# NOT RUN {
  ## Example of background correction
  library(specmine.datasets)
  data(cachexia)
  cachexia.corrected = background_correction(cachexia)
# }

Run the code above in your browser using DataLab