batman Logo
Welcome to the BATMAN project!

BATMAN is an R package for estimating metabolite concentrations from Nuclear Magnetic Resonance spectral data using a specialised MCMC algorithm. It deconvolutes peaks from 1-dimensional NMR spectra, automatically assigns them to specific metabolites from a target list and obtains concentration estimates. The Bayesian model incorporates information on characteristic peak patterns of metabolites and is able to account for shifts in the position of peaks commonly seen in NMR spectra of biological samples. It applies a Markov Chain Monte Carlo (MCMC) algorithm to sample from a joint posterior distribution of the model parameters and obtains concentration estimates with reduced error compared with conventional numerical integration and comparable to manual deconvolution by experienced spectroscopists.

The project summary page you can find here.

The project documentation page you can find here.

The installation and testing instructions and Test 4 dataset you can find here.

The project source code and files page you can find here.

The SplineFitBATMAN (MATLAB code) you can find here.


Hao J., Liebeke M., Astle W., De Iorio M., Bundy J. G. & Ebbels T. M., Bayesian deconvolution and quantification of metabolites in complex 1D NMR spectra using BATMAN, Nature Protocols, 9, 1416-1427 (2014).

Hao J., Astle W., De Iorio M. & Ebbels T. M., BATMAN--an R package for the automated quantification of metabolites from nuclear magnetic resonance spectra using a Bayesian model. Bioinformatics 28, 2088-2090 (2012).

Astle W., De Iorio M., Richardson S., Stephens D. & Ebbels T. M., A Bayesian model of NMR spectra for the deconvolution and quantification of metabolites in complex biological mixtures. J Am Stat Assoc 107, 1259-1271 (2012).

Liebeke M., Hao J., Ebbels T. M., Bundy J. G., Combining Spectral Ordering with Peak Fitting for One-Dimensional NMR Quantitative Metabolomics., Anal Chem, 85 (9), 4605–4612 (2013).

batman Result plot