InitDataObjects: Constructs a dataSet object for storing data

View source: R/general_data_utils.R

InitDataObjectsR Documentation

Constructs a dataSet object for storing data

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, mf, cmpdmap, smpmap, or pathinteg

paired

indicate if the data is paired or not. Logical, default set to FALSE

Author(s)

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


xia-lab/MetaboAnalystR documentation built on April 20, 2024, 8:13 p.m.