xcmsSet {xcms} | R Documentation |
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.
xcmsSet(files = NULL, snames = NULL, sclass = NULL, phenoData = NULL, profmethod = "bin", profparam = list(), nSlaves=0, ...)
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 |
nSlaves |
number of MPI-slaves to use for parallel peak detection,
works only if Rmpi is installed properly, see xcmsPapply . |
... |
further arguments to the findPeaks method of the
xcmsRaw class
|
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.
A xcmsSet
object.
Colin A. Smith, csmith@scripps.edu
xcmsSet-class
,
findPeaks
,
profStep
,
profMethod