trans.ASCII: Transform GC-MS data in ASCII format to suitable data for MS.DataCreation
Description
This function transform each ASCII file (i.e. each GC-MS analysis in ASCII format) into a new file compatible with MS.DataCreation.
Usage
trans.ASCII(path, mz)
Arguments
path
Name of the folder containing all the GC-MS analyses in ASCII format. If left empty, a popup window opens to browse your computer tcltk package required
mz
Range of mass fragments delimiting the mass spectrum (each mass fragment is characterized by its mass-to-charge ratio m/z)
Value
trans.ASCII creates a folder named output_transASCII_Date_Hour which contains the same number of files than path.
Details
When your raw GC-MS data cannot be exported to netCDF (or mzXML) but only to the international ASCII format (.txt). The data in ASCII format have to be transformed with the function trans.ASCII for further analyses with MS.DataCreation (option DataType="ASCII").