rmBaseline {PROcess} | R Documentation |
Baseline subtraction from each raw spectrum in 'fldr'.
rmBaseline(fldr, outputname = "baseoffM", 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 |
outputname |
name of the matrix holding the baseline-substracted spectra, a matrix with row-names as the m/z values and column-names as the spectrum names. |
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'.
testdir <- system.file("Test", package = "PROcess") rmBaseline(testdir, "testM")