Learn R Programming

Baseline Correction of Spectra - baseline

Installation

# Install release version from CRAN  
install.packages("baseline")  
# Install development version from GitHub  
devtools::install_github("khliland/baseline")

Contents

  • S4 interface baseline() with a range of baseline correction methods
    • 4S Peak Filling
    • Asymmetric Least Squares - ALS
    • IRLS
    • LowPass filtering
    • Median Window
    • Modified polynomial fitting
    • Peak Detection
    • Rolling Ball
    • RF baseline
    • Shirley
    • TAP
    • Common plotting function
  • Customized baseline correction
    • Interval stretch/compress for more adaptive baseline
  • Baseline optimisation for prediction and classification
    • Design of Experiments
    • Running of DoE
    • Analysis of results
  • Tcl/Tk based Graphical User Interface for baseline correction

Copy Link

Version

Install

install.packages('baseline')

Monthly Downloads

1,091

Version

1.3-7

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Kristian Hovde Liland

Last Published

June 18th, 2025

Functions in baseline (1.3-7)

baselineAlgResult-class

Class "baselineAlgResult"
baseline.shirley

Shirley Background Estimation
baseline.medianWindow

Median window
custom.baseline

Customized baseline correction
baseline.rollingBall

Rolling ball
baseline.lowpass

Low-pass FFT filter
baselineEnv

Baseline environment
baselineGUI

Interactive plotting tool
ind.min

Extraction methods specific for "predictionResult" objects
milk

MALDI-TOF mass spectra
plotBaseline

Plot method for "baseline" objects
param.ind.min

Extraction methods for "baselineAlgResult" objects
predictionTest-class

Class "predictionTest"
doOptim

Optimise several baseline algorithms on a data set
param

Extract the "param" slot
overall.min

Extract the minimum from a baseline optimisation
qualMeas

Extraction functions for "predictionResult" or "baselineAlgResult" objects
funcName

Extract the "funcName" slot.
getBaseline

Functions to extract the components of a "baseline" object
predictionResult-class

Class "predictionResult"
baseline.peakDetection

Simultaneous Peak Detection and Baseline Correction
baselineAlgorithms

List of available baseline algorithms
baselineAlgorithmsGUI

List of available baseline algorithms for GUI function
plotOptim

Plotting tool for result objects from optimization
ridgeRegressionTest-class

Class "ridgeRegressionTest"
name

Extraction methods for "baselineAlg" objects
runTest

Run a predictionTest or baselineAlgTest
optimWizard

Visual tool for setting up optimization
baseline.fillPeaks

Fill peaks
baseline.als

Asymmetric Least Squares
PLSRTest-class

Class "PLSRTest"
baseline-package

Baseline correction
baseline.TAP

TAP
baseline.irls

Iterative Restricted Least Squares
baseline-class

Class "baseline"
XPSdata

XPS core line data
baselineAlgTest-class

Class "baselineAlgTest"
baseline.modpolyfit

Modified polynomial fitting
algorithm

Extraction methods for "baselineAlgTest" objects
baselineAlg-class

Class "baselineAlg"
baseline

Baseline correction
baseline.rfbaseline

Robust Baseline Estimation