Learn R Programming

⚠️There's a newer version (2.7.0) of this package.Take me there.

speaq (version 1.2.0)

Tools for Nuclear Magnetic Resonance (NMR) spectrum alignment and quantitative analysis.

Description

We introduce a novel suite of informatics tools for the quantitative analysis of NMR metabolomic profile data. The core of the processing cascade is a novel peak alignment algorithm, called hierarchical Cluster-based Peak Alignment (CluPA). The algorithm aligns a target spectrum to the reference spectrum in a top-down fashion by building a hierarchical cluster tree from peak lists of reference and target spectra and then dividing the spectra into smaller segments based on the most distant clusters of the tree. To reduce the computational time to estimate the spectral misalignment, the method makes use of Fast Fourier Transformation (FFT) cross-correlation. Since the method returns a high-quality alignment, we can propose a simple methodology to study the variability of the NMR spectra. For each aligned NMR data point the ratio of the between-group and within-group sum of squares (BW-ratio) is calculated to quantify the difference in variability between and within predefined groups of NMR spectra. This differential analysis is related to the calculation of the F-statistic or a one-way ANOVA, but without distributional assumptions. Statistical inference based on the BW-ratio is achieved by bootstrapping the null distribution from the experimental data. Related publication is available at http://www.biomedcentral.com/1471-2105/12/405/.

Copy Link

Version

Install

install.packages('speaq')

Monthly Downloads

463

Version

1.2.0

License

Apache License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Trung Vu

Last Published

January 14th, 2015

Functions in speaq (1.2.0)

dohClusterCustommedSegments

Use CluPA for alignment with additional information
makeSimulatedData

Create a simulated NMR spectral data
speaq-package

Tools for Nuclear Magnetic Resonance (NMR) spectrum alignment and quantitative analysis.
findSegPeakList

Selecting the peaks in a segment
findShiftStepFFT

Finding the shift-step by using Fast Fourier Transform cross-correlation
hClustAlign

CluPA function for two spectra.
drawSpec

Spectral plot
findRef

Reference finding
BWR

BW ratio calculation
drawBW

BW and percentile ratios plot
dohCluster

CluPA function for multiple spectra.
returnLocalMaxima

Local maximum detection
detectSpecPeaks

Peak detection for spectra
createNullSampling

Building a null hypothesis data
doShift

Segment shift