Description Usage Arguments Value Author(s) See Also Examples
Baseline subtraction from each raw spectrum in 'fldr'.
1 2 3 | rmBaseline(fldr, bseoffrda = NULL, breaks = 200, qntl = 0,
method = "loess", bw = 0.1,
SpecNames = list.files(fldr, pattern = "\\.*csv\\.*"))
|
fldr |
a path to where the raw spectra are stored |
bseoffrda |
optional; name of the file (with extension .rda) where the baseline-substracted spectra, a matrix with row-names as the m/z values and column-names as the spectrum tags, will be saved to. |
breaks |
see bslnoff(). |
qntl |
see bslnoff(). |
method |
see bslnoff(). |
bw |
see bslnoff(). |
SpecNames |
a vector of character strings as spectrum names. |
A matrix whose columns correspond to baseline-subtracted spectra with row-names as the m/z values and column-names as the spectrum names.
Xiaochun Li
‘bslnoff’.
1 2 | testdir <- system.file("Test", package = "PROcess")
testM <- rmBaseline(testdir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.