This function handles reading in LC/GC-MS spectra files and fills in the dataSet object. It uses functions from the XCMS package to perform peak detection and alignment (grouping).
Read.MSspec(mSetObj, folderName, profmethod, fwhm, bw)
Input the name of the created mSetObj (see InitDataObjects)
the name of the folder containing the MS spectra
specify the method to use for profile generation, supports "bin", "binlin", "binlinbase" and "intlin"
specify the full width at half maximum of the matched filtration gaussian model peak
define the bandwidth (standard deviation of the smoothing kernel) to be used