This functions handles the construction of a mSetObj object for storing data for further processing and analysis. It is necessary to utilize this function to specify to MetaboAnalystR the type of data and the type of analysis you will perform.
InitDataObjects(data.type, anal.type, paired=FALSE)
The type of data, either list (Compound lists), conc (Compound concentration data), specbin (Binned spectra data), pktable (Peak intensity table), nmrpeak (NMR peak lists), mspeak (MS peak lists), or msspec (MS spectra data)
Indicate the analysis module to be performed: stat, pathora, pathqea, msetora, msetssp, msetqea, ts, cmpdmap, smpmap, or pathinteg
Indicate if the data is paired or not. Logical, default set to FALSE