MyNixOS website logo
Description

Binning and Visualizing NMR Spectra in Environmental Samples.

A reproducible workflow for binning and visualizing NMR (nuclear magnetic resonance) spectra from environmental samples. The 'nmrrr' package is intended for post-processing of NMR data, including importing, merging and, cleaning data from multiple files, visualizing NMR spectra, performing binning/integrations for compound classes, and relative abundance calculations. This package can be easily inserted into existing analysis workflows by users to help with analyzing and interpreting NMR data.

nmrrr

R-CMD-check Codecov test coverage

A reproducible workflow for binning and visualizing NMR spectra from environmental samples

Install the package using:

install.packages("nmrrr")

OR

remotes::install_github("kaizadp/nmrrr", build_vignettes = TRUE)

Vignettes can be accessed within R:

browseVignettes(package = "nmrrr")


Overview

The {nmrrr} package is intended for post-processing of NMR data, including importing, merging and, cleaning data from multiple files, visualizing NMR spectra, performing binning/integrations for compound classes, and relative abundance calculations.
A strong feature of this package is the ability to batch-process multiple samples, and to do so in a reproducible manner.

This package can be easily inserted into existing analysis workflows by users to help with analyzing and interpreting NMR data.

Before using this package, NMR spectra must be processed in MestreNova or TopSpin (phase corrected, baseline corrected, deconvoluted, peak picked, normalized).


Functions

nmr_import_spectra()Import all files from the specified path and generate a single long-form dataframe with all samples.
nmr_assign_bins()Bin the spectra/assign compound classes based on the preferred bin set. see below for available options.
nmr_plot_spectra()Plot spectra. If multiple spectra are present, they will be vertically offset.
nmr_import_peaksImport and process peaks files generated after peak-picking in MNova.
nmr_relabund()Compute relative abundance of compound classes based on bin assignments.

Binsets

Binset nameSolution or solid-stateTarget NMR nucleiSolventCitation
bins_CadeMenun2015solution31PD2O + NaOH + EDTACade-Menun, 2015
bins_Clemente2012solution1HDMSO-D6Clemente et al., 2012
bins_Hertkorn2013solution1HMeODHertkorn et al., 2013
bins_Lynch2019solution1HD2OLynch et al., 2019
bins_Mitchell2018solution1HDMSO-D6Mitchell et al., 2018
bins_ss_Baldock2004solid13CN/ABaldock et al., 2004
bins_ss_Clemente2012solid13CN/AClemente et al., 2012
bins_ss_Preston2009solid13CN/APreston et al., 2009

Users can choose from the available options, or can import their own preferred bin set. See vignette("nmrrr") for more details.


Contact

We encourage users to provide feedback as GitHub Issues.
We also encourage users to submit additional NMR binsets via GitHub Issues or pull requests, so they can be incorporated into future versions of the package.

Used this package? Use citation("nmrrr") for citation information.

Metadata

Version

1.0.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows