Description Usage Arguments Details Value Author(s) See Also
This function handles the construction of xcmsSet objects. It finds peaks in batch mode and pre-sorts files from subdirectories into different classes suitable for grouping.
1 2 3 4 5 |
files |
path names of the NetCDF/mzXML files to read |
snames |
sample names |
sclass |
sample classes |
phenoData |
sample names and classes |
profmethod |
method to use for profile generation |
profparam |
parameters to use for profile generation |
polarity |
filter raw data for positive/negative scans |
lockMassFreq |
Performs correction for Waters LockMass function |
mslevel |
perform peak picking on data of given mslevel |
nSlaves |
number of slaves/cores to be used for parallel peak detection. MPI is used if installed, otherwise the snow package is employed for multicore support. |
progressCallback |
function to be called, when progressInfo changes (useful for GUIs) |
scanrange |
scan range to read |
... |
further arguments to the |
The default values of the files
, snames
, sclass
, and
phenoData
arguments cause the function to recursively search
for readable files. The filename without extention is used for the
sample name. The subdirectory path is used for the sample class.
If the files contain both positive and negative spectra, the polarity
can be selected explicitly. The default (NULL) is to read all scans.
The lock mass correction allows for the lock mass scan to be added back in with the last working scan. This correction gives better reproducibility between sample sets.
A xcmsSet
object.
Colin A. Smith, csmith@scripps.edu
xcmsSet-class
,
findPeaks
,
profStep
,
profMethod
,
xcmsPapply
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.