Description Usage Arguments Details Value Author(s) Examples
Divide the whole spectra into smaller segments and detect peaks by using MassSpecWavelet package. Note that, the peak lists could be found by using other methods, this function is just a choice.
1 2 | detectSpecPeaks(X, nDivRange = 128, scales = seq(1, 16, 2),
baselineThresh = 50000, SNR.Th = -1, verbose=TRUE)
|
X |
The spectral dataset in matrix format in which each row contains a single sample |
nDivRange |
The size of a single small segment after division of spectra |
scales |
The parameter of peakDetectionCWT function of MassSpecWavelet package, look it up in the original function. |
baselineThresh |
It will remove all peaks under an intensity set by baselineThresh. |
SNR.Th |
The parameter of peakDetectionCWT function of MassSpecWavelet package, look it up in the original function. If you set -1, the function will itseff re-compute this value. |
verbose |
A boolean value to allow print out process information. |
Divide the whole spectra into smaller segments and detect peaks by using MassSpecWavelet package. Note that, the peak lists could be found by using other methods, this function is just a choice.
The peak lists of the spectra
Trung Nghia Vu
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
res=makeSimulatedData();
X=res$data;
groupLabel=res$label;
peakList <- detectSpecPeaks(X,
nDivRange = c(128),
scales = seq(1, 16, 2),
baselineThresh = 50000,
SNR.Th = -1,
verbose=FALSE
);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.