Package: metabodeconplus 0.22.5

Tobias Schmidt

metabodeconplus: Deconvolution, Alignment and Model Fitting of 1d NMR Spectra

An integrated framework for deconvolution, alignment and postprocessing of 1-dimensional (1d) nuclear magnetic resonance (NMR) spectra, extended with end-to-end model fitting that turns the resulting matrix of aligned signal integrals into classification models. The deconvolution part uses the algorithm described in Koh et al. (2009) <doi:10.1016/j.jmr.2009.09.003>. The alignment part is based on functions from the 'speaq' package, described in Beirnaert et al. (2018) <doi:10.1371/journal.pcbi.1006018> and Vu et al. (2011) <doi:10.1186/1471-2105-12-405>. A detailed description and evaluation of an early version of the package can be found in Haeckl et al. (2021) <doi:10.3390/metabo11070452>. The current package, including the model fitting workflow, is described in Schmidt et al. (2026) <doi:10.3390/metabo16090604>. 'metabodeconplus' is the actively developed successor to the 'metabodecon' package and introduces backwards-incompatible API changes.

Authors:Tobias Schmidt [aut, cre, cph], Martina Haeckl [aut, cph], Yanren Linda Hu [ctb], Wolfram Gronwald [aut, cph]

metabodeconplus_0.22.5.tar.gz
metabodeconplus_0.22.5.zip(r-4.7-x86_64)metabodeconplus_0.22.5.zip(r-4.7-arm64)metabodeconplus_0.22.5.zip(r-4.6-x86_64)metabodeconplus_0.22.5.zip(r-4.6-arm64)metabodeconplus_0.22.5.zip(r-4.5-x86_64)
metabodeconplus_0.22.5.tgz(r-4.6-x86_64)metabodeconplus_0.22.5.tgz(r-4.6-arm64)metabodeconplus_0.22.5.tgz(r-4.5-x86_64)metabodeconplus_0.22.5.tgz(r-4.5-arm64)
metabodeconplus_0.22.5.tar.gz(r-4.7-arm64)metabodeconplus_0.22.5.tar.gz(r-4.7-x86_64)metabodeconplus_0.22.5.tar.gz(r-4.6-arm64)metabodeconplus_0.22.5.tar.gz(r-4.6-x86_64)
metabodeconplus_0.22.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
metabodeconplus/json (API)

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

Bug tracker:https://github.com/spang-lab/metabodeconplus/issues

Pkgdown/docs site:https://spang-lab.github.io

Datasets:
  • sap - The SAP Dataset
  • sim - The Sim Dataset
  • sim2 - The Sim2 Classification Dataset

On CRAN:

Conda:

nmrdeconvolution

4.85 score 1 stars 5 scripts 464 downloads 44 exports 17 dependencies

Last updated from:f7ae5db6db. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK163
linux-devel-x86_64OK158
source / vignettesOK327
linux-release-arm64OK134
linux-release-x86_64OK184
macos-release-arm64OK143
macos-release-x86_64OK278
macos-oldrel-arm64OK136
macos-oldrel-x86_64OK330
windows-devel-arm64OK195
windows-devel-x86_64OK195
windows-release-arm64OK220
windows-release-x86_64OK160
windows-oldrel-x86_64OK117
wasm-releaseOK148

Exports:aaa_Get_Startedalignas_decon2as_decons2as_spectrabenchmarkbinbin700check_mdrbclupaconvert_posconvert_widthdatadirdatadir_persistentdatadir_tempdeconvolutedownload_example_datasetsdraw_spectrumevalwithfit_mdmget_data_dirget_degget_namesget_startedharmonize_gridheadtailheat_spectrais_spectrais_spectrummake_spectrummetabodeconplus_filepeak_matplot_spectraplot_spectrumread_spectraread_spectrumsi_matsimulate_spectrumsnap_to_reftmpdirtransptreetree_previewwidth

Dependencies:cligluelatticelifecyclemagrittrmathjaxrMatrixrangerRcppRcppEigenreadJDXrlangstringistringrtoscutilvctrswithr

Get Started
Read spectra | File structure | Deconvolute spectra | Visualize deconvoluted spectra | Align deconvoluted spectra

Last update: 2026-10-05
Started: 2026-07-09

Model Fitting
Load spectra | The pipeline, step by step | Step 1: Deconvolute | Step 2: Align (CluPA) | Step 3: Snap peaks to the reference | Step 4: Build the feature matrix | Step 5: Fit a random forest | The one-shot call | Predict held-out spectra | Tune the preprocessing

Last update: 2026-10-05
Started: 2026-07-09

Readme and manuals

Help Manual

Help pageTopics
Get URL of metabodeconplus "Get Started" Pageaaa_Get_Started get_started
Align deconvoluted spectraalign
Alignment building blocksalignment_funs clupa snap_to_ref
Bin a spectra-like object into a feature matrixbin
700-bin Zacharias 2013 feature matrixbin700
Check Rust Backend Availabilitycheck_mdrb
Convert from unit A to unit Bconvert_pos convert_width
Return path to metabodeconplus's data directorydatadir
Persistent Data Directorydatadir_persistent
Temporary Data Directorydatadir_temp
Deconvolute one or more NMR spectradeconvolute get_deg
Download metabodeconplus Example Datasetsdownload_example_datasets
Draw Spectrumdraw_spectrum
Evaluate an expression with predefined global stateevalwith
Retrieve directory path of an example datasetget_data_dir
Harmonize a corpus of spectra onto a shared chemical-shift gridharmonize_grid
Show head and tail rows of a matrix-like objectheadtail
Plot Spectra Heatmapheat_spectra
Create a Spectrum Objectmake_spectrum
metabodeconplus Modelsbenchmark fit_mdm mdm
S3 methods for mdm objectscoef.mdm mdm_methods plot.mdm predict.mdm print.mdm print.summary.mdm summary.mdm
Return Path to File or Directory in metabodeconplus Packagemetabodeconplus_file
metabodeconplus Classes and Helpersaligns as_decon2 as_decons2 as_spectra decon2 decons2 get_names is_spectra is_spectrum metabodeconplus-classes spectra spectrum
Peak feature matrixpeak_mat
Plot Spectraplot_spectra
Plot Spectrumplot_spectrum
Read one or more spectra from Diskread_spectra
Read one or more spectra from Diskread_spectrum
The SAP Datasetsap
Signal-integral matrixsi_mat
The Sim Datasetsim
The Sim2 Classification Datasetsim2
Simulate a 1D NMR Spectrumsimulate_spectrum
Temporary Session Directorytmpdir
Make transparenttransp
Print the Structure of a Directory Treetree tree_preview
Calculate the Width of a Numeric Vectorwidth