Skip to contents

Performs baseline correction to spectra using the baseline package.

Usage

MassSpecSettings_CorrectSpectraBaseline_baseline(
  method = "als",
  args = list(lambda = 5, p = 0.05, maxit = 10)
)

Arguments

method

Character (length 1) with the method to be used for baseline correction. Possible values are "als", "fillPeaks", "irls", "lowpass", "medianWindow", "modpolyfit", "peakDetection", "rfbaseline", "rollingBall", "shirley" and "TAP".

args

List with additional arguments for the selected method. See the documentation of the baseline package for more details.

Value

A ProcessingSettings S3 class object with subclass MassSpecSettings_CorrectSpectraBaseline_baseline.