Learn R Programming

MetaboAnalystR (version 2.0.0)

Read.TextData: Constructor to read uploaded CSV or TXT files into the dataSet object

Description

This function handles reading in CSV or TXT files and filling in the dataSet object created using "InitDataObjects".

Usage

Read.TextData(mSetObj=NA, filePath, format, lbl.type)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects).

filePath

Input the path name for the CSV/TXT files to read.

format

Specify if samples are paired and in rows (rowp), unpaired and in rows (rowu), in columns and paired (colp), or in columns and unpaired (colu).

lbl.type

Specify the data label type, either discrete (disc) or continuous (cont).