InitDataObjects: InitDataObjects

View source: R/Spectra_import.R

InitDataObjectsR Documentation

InitDataObjects

Description

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.

Usage

InitDataObjects(data.type, anal.type, paired=FALSE)

Arguments

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

Value

will initialize an mSet object

Author(s)

Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)

Examples

mSet<-InitDataObjects("spec", "raw", FALSE)

xia-lab/OptiLCMS documentation built on Nov. 6, 2024, 11:01 a.m.