Package: baseline 1.3-5

baseline: Baseline Correction of Spectra

Collection of baseline correction algorithms, along with a framework and a Tcl/Tk enabled GUI for optimising baseline algorithm parameters. Typical use of the package is for removing background effects from spectra originating from various types of spectroscopy and spectrometry, possibly optimizing this with regard to regression or classification results. Correction methods include polynomial fitting, weighted local smoothers and many more.

Authors:Kristian Hovde Liland [aut, cre], Bjørn-Helge Mevik [aut], Roberto Canteri [ctb]

baseline_1.3-5.tar.gz
baseline_1.3-5.zip(r-4.5)baseline_1.3-5.zip(r-4.4)baseline_1.3-5.zip(r-4.3)
baseline_1.3-5.tgz(r-4.4-any)baseline_1.3-5.tgz(r-4.3-any)
baseline_1.3-5.tar.gz(r-4.5-noble)baseline_1.3-5.tar.gz(r-4.4-noble)
baseline_1.3-5.tgz(r-4.4-emscripten)baseline_1.3-5.tgz(r-4.3-emscripten)
baseline.pdf |baseline.html
baseline/json (API)
NEWS

# Install 'baseline' in R:
install.packages('baseline', repos = c('https://khliland.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/khliland/baseline/issues

Datasets:
  • C1s - XPS core line data
  • O1s - XPS core line data
  • milk - MALDI-TOF mass spectra

On CRAN:

7.06 score 9 stars 11 packages 66 scripts 1.5k downloads 8 mentions 47 exports 5 dependencies

Last updated 6 months agofrom:4637f6a35f. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 22 2024
R-4.5-winOKNov 22 2024
R-4.5-linuxOKNov 22 2024
R-4.4-winOKNov 22 2024
R-4.4-macOKNov 22 2024
R-4.3-winOKNov 22 2024
R-4.3-macOKNov 22 2024

Exports:algorithmbaselinebaseline.alsbaseline.fillPeaksbaseline.irlsbaseline.lowpassbaseline.medianWindowbaseline.modpolyfitbaseline.peakDetectionbaseline.rfbaselinebaseline.rollingBallbaseline.shirleybaseline.TAPbaselineAlgorithmsbaselineAlgorithmsGUIbaselineEnvbaselineGUIcustom.baselinedescriptiondoOptimextraArgsfuncNamegetBaselinegetBaselineEnvgetCallgetCorrectedgetOptimgetOptimResgetSpectraind.minminQualMeasmvrValstatsnameoptimWizardoverall.minparamparam.ind.minparam.minparamNameplotplotBaselineplotOptimputBaselineEnvqualMeasqualMeas.ind.minqualMeasNamerunTest

Dependencies:limSolvelpSolveMASSquadprogSparseM

Readme and manuals

Help Manual

Help pageTopics
Baseline correctionbaseline-package
Extraction methods for "baselineAlgTest" objectsalgorithm algorithm,baselineAlgTest-method algorithm-methods extraArgs extraArgs,baselineAlgTest-method extraArgs-methods
Baseline correctionbaseline
Class "baseline"baseline-class getBaseline,baseline-method getCall,baseline-method getCorrected,baseline-method getSpectra,baseline-method
Asymmetric Least Squaresals baseline.als
Fill peaksbaseline.fillPeaks fillPeaks
Iterative Restricted Least Squaresbaseline.irls irls
Low-pass FFT filterbaseline.lowpass lowpass
Median windowbaseline.medianWindow medianWindow
Modified polynomial fittingbaseline.modpolyfit modpolyfit
Simultaneous Peak Detection and Baseline Correctionbaseline.peakDetection peakDetection
Robust Baseline Estimationbaseline.rfbaseline rfbaseline
Rolling ballbaseline.rollingBall rollingBall
Shirley Background Estimationbaseline.shirley shirley
TAPbaseline.TAP TAP
Class "baselineAlg"baselineAlg-class
List of available baseline algorithmsbaselineAlgorithms
List of available baseline algorithms for GUI functionbaselineAlgorithmsGUI
Class "baselineAlgResult"baselineAlgResult-class
Class "baselineAlgTest"baselineAlgTest-class
Baseline environmentbaselineEnv getBaselineEnv putBaselineEnv
Interactive plotting toolbaselineGUI
Customized baseline correctioncustom.baseline
Optimise several baseline algorithms on a data setdoOptim mvrValstats
Extract the "funcName" slot.funcName funcName,baselineAlg-method funcName,baselineAlgTest-method funcName-methods
Functions to extract the components of a "baseline" objectgetBaseline getCall getCorrected getSpectra
Extraction methods specific for "predictionResult" objectsind.min ind.min,predictionResult-method ind.min-methods paramName paramName,predictionResult-method paramName-methods
MALDI-TOF mass spectramilk
Extraction methods for "baselineAlg" objectsdescription description,baselineAlg-method description-methods name name,baselineAlg-method name-methods
Visual tool for setting up optimizationgetOptim getOptimRes optimWizard
Extract the minimum from a baseline optimisationoverall.min
Extract the "param" slotparam param,baselineAlg-method param,baselineAlgResult-method param,baselineAlgTest-method param,predictionResult-method param-methods
Extraction methods for "baselineAlgResult" objectsparam.ind.min param.ind.min,baselineAlgResult-method param.ind.min-methods qualMeas.ind.min qualMeas.ind.min,baselineAlgResult-method qualMeas.ind.min-methods
Plot method for "baseline" objectsplot,baseline-method plotBaseline
Plotting tool for result objects from optimizationplotOptim
Class "PLSRTest"PLSRTest-class
Class "predictionResult"predictionResult-class
Class "predictionTest"predictionTest-class
Extraction functions for "predictionResult" or "baselineAlgResult" objectsminQualMeas minQualMeas,baselineAlgResult-method minQualMeas,predictionResult-method minQualMeas-methods param.min param.min,baselineAlgResult-method param.min,predictionResult-method param.min-methods qualMeas qualMeas,baselineAlgResult-method qualMeas,predictionResult-method qualMeas-methods qualMeasName qualMeasName,baselineAlgResult-method qualMeasName,predictionResult-method qualMeasName-methods
Class "ridgeRegressionTest"ridgeRegressionTest-class
Run a predictionTest or baselineAlgTestrunTest runTest,baselineAlgTest-method runTest,PLSRTest-method runTest,ridgeRegressionTest-method runTest-methods
XPS core line dataC1s O1s