Read.TextData: Read.TextData Constructor to read uploaded CSV or TXT files...

View source: R/general_data_utils.R

Read.TextDataR Documentation

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 = "rowu",
  lbl.type = "disc",
  nmdr = FALSE
)

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 categorical (disc) or continuous (cont).

nmdr

Boolean. Default set to FALSE (data is uploaded by the user and not fetched through an API call to the Metabolomics Workbench).

Author(s)

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


xia-lab/MetaboAnalystR documentation built on March 20, 2024, 7:28 p.m.