Abstract
Mass spectrometry is a powerful tool for identifyingand analyzingbiomolecules such as metabolites and lipids in complex biologicalsamples. Liquid chromatography and gas chromatography mass spectrometrystudies quite commonly involve large numbers of samples, which canrequire significant time for sample preparation and analyses. To accommodatesuch studies, the samples are commonly split into batches. Inevitably,variations in sample handling, temperature fluctuation, imprecisetiming, column degradation, and other factors result in systematicerrors or biases of the measured abundances between the batches. Numerousmethods are available via R packages to assist with batch correctionfor omics data; however, since these methods were developed by differentresearch teams, the algorithms are available in separate R packages,each with different data input and output formats. We introduce themalbacR package, which consolidates 11 common batch effect correctionmethods for omics data into one place so users can easily implementand compare the following: pareto scaling, power scaling, range scaling,ComBat, EigenMS, NOMIS, RUV-random, QC-RLSC, WaveICA2.0, TIGER, andSERRF. The malbacR package standardizes data input and output formatsacross these batch correction methods. The package works in conjunctionwith the pmartR package, allowing users to seamlessly include thebatch effect correction in a pmartR workflow without needing any additionaldata manipulation.
Funding Information
  • Pacific Northwest National Laboratory

This publication has 24 references indexed in Scilit: