Learn R Programming

ChemoSpec (version 3.0-1)

clupaSpectra: Conduct Hierarchical Cluster-Based Peak Alignment on a Spectra Object

Description

This function is a wrapper to several functions in the speaq package. It implements the "CluPA" algorithm described in the reference.

Usage

clupaSpectra(spectra, bT = NULL, ...)

Arguments

spectra
An object of S3 class "Spectra"
bT
Numeric. The baseline threshold. Defaults to five percent of the range of the data, in spectra$data. Passed to detectSpecPeaks.
...
Other arguments to be passed to the underlying functions.

Value

  • A modifed "Spectra" object.

References

https://github.com/bryanhanson/ChemoSpec

Vu TN, Valkenborg D, Smets K, Verwaest KA, Dommisse R, Lemiere F, Verschoren A, Goethals B, Laukens K. (2011) An integrated workflow for robust alignment and simplified quantitative analysis of NMR spectrometry data. BMC Bioinformatics. 2011 Oct 20;12:405.

Examples

Run this code
# A bit slow for CRAN checks
require("speaq")
data(SrE.NMR)
tst <- clupaSpectra(SrE.NMR)

Run the code above in your browser using DataLab