Description Usage Arguments Value Examples
View source: R/SpecFunctions.R
This function processes multiple mzXML files which are listed in the file that an user specifies.
1 2 3 4 5 6 | process_monospectra(
file,
mass.range = c(1000, 2200),
halfWindowSize = 20,
SNIP.iteration = 60
)
|
file |
A file name. This file is a tab-delimited file which contains the following columns: file names, strain.no, and strain. See below for details. |
mass.range |
The m/z range that users want to consider for the analysis. (Default: c(1000,2200)). |
halfWindowSize |
A half window size used for the smoothing the intensity values. (Default: 20). See |
SNIP.iteration |
An iteration used to remove the baseline of an spectrum. (Default: 60). See |
A list of processed monobacterial mass spectra (S4 objects, MALDIquant MassSpectrum objects), and their strain numbers (a vector), unique strains (a vector), and strain names (a vector).
1 2 3 | spectra.processed.A <- process_monospectra(
file=system.file("extdata", "listA.txt", package="MGMS2"),
mass.range=c(1000,2200))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.