Description Usage Arguments Value Author(s) References Examples
View source: R/PreprocessingChain.R
The function is a wrapper for all the preprocessing steps available in PepsNMR.
1 2 3 4 5 6 7 8 | PreprocessingChain(Fid_data = NULL, Fid_info = NULL, data.path = NULL, readFids = TRUE,
groupDelayCorr = TRUE, solventSuppression = TRUE, apodization = TRUE,
zerofilling = TRUE,fourierTransform = TRUE, zeroOrderPhaseCorr = TRUE,
internalReferencing = TRUE, baselineCorrection = TRUE, negativeValues0 = TRUE,
warping = TRUE, windowSelection = TRUE, bucketing = TRUE, regionRemoval = TRUE,
zoneAggregation = TRUE,normalization = TRUE, ..., export = FALSE,
format = c("Rdata", "csv", "txt"), out.path = ".", filename = "filename",
writeArg = c("none", "return", "txt"), verbose = FALSE)
|
Fid_data |
If non |
Fid_info |
If non |
data.path |
A character string specifying the directory where the FIDs are searched. |
readFids |
If |
groupDelayCorr |
If |
solventSuppression |
If |
apodization |
If |
zerofilling |
If |
fourierTransform |
If |
zeroOrderPhaseCorr |
If |
internalReferencing |
If |
baselineCorrection |
If |
negativeValues0 |
If |
warping |
If |
windowSelection |
If |
bucketing |
If |
regionRemoval |
If |
zoneAggregation |
If |
normalization |
If |
... |
Other optionnal arguments of the above pre-processing functions. |
export |
If |
format |
Format chosen to export the spectral intensities and the aquisition parameters matrices. |
out.path |
Path used to export the spectral intensities and the aquisition parameters matrices if |
filename |
Name given to exported files. |
writeArg |
If not |
verbose |
If |
The function will return a list with the spectral intensities and the aquisition parameters matrices. If writeArg == "return"
, an additionnal list element is returned (arguments
).
Spectrum_data |
The pre-processed spectra. |
Fid_info |
The acquisition parameters. |
arguments |
The function arguments. |
Manon Martin
Martin, M., Legat, B., Leenders, J., Vanwinsberghe, J., Rousseau, R., Boulanger, B., & Govaerts, B. (2018). PepsNMR for 1H NMR metabolomic data pre-processing. Analytica chimica acta, 1019, 1-13.
Rousseau, R. (2011). Statistical contribution to the analysis of metabonomics data in 1H NMR spectroscopy (Doctoral dissertation, PhD thesis. Institut de statistique, biostatistique et sciences actuarielles, Université catholique de Louvain, Belgium).
1 2 3 4 | path <- system.file("extdata", package = "PepsNMRData")
data.path <- file.path(path, "HumanSerum")
res <- PreprocessingChain(Fid_data = NULL, Fid_info = NULL, data.path = data.path,
ReadFids = TRUE, type.norm = "mean", export = FALSE, writeArg = "return")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.