View source: R/Spectra_import.R
InitDataObjects | R Documentation |
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)
data.type |
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) |
anal.type |
Indicate the analysis module to be performed: stat, pathora, pathqea, msetora, msetssp, msetqea, ts, cmpdmap, smpmap, or pathinteg |
paired |
Indicate if the data is paired or not. Logical, default set to FALSE |
will initialize an mSet object
Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)
mSet<-InitDataObjects("spec", "raw", FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.