my.parse.peaklist: my.parse.peaklist

View source: R/util_peaks.R

my.parse.peaklistR Documentation

my.parse.peaklist

Description

Read peak list files. This function reads peak list files and fills the data into a dataSet object. For NMR peak lists, the input should be formatted as two-columns containing numeric values (ppm, int). Further, this function will change ppm to mz, and add a dummy 'rt'. For MS peak data, the lists can be formatted as two-columns (mz, int), in which case the function will add a dummy 'rt', or the lists can be formatted as three-columns (mz, rt, int).

Usage

my.parse.peaklist(mSetObj = NA, foldername = "upload")

Arguments

mSetObj

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

foldername

Name of the folder containing the NMR or MS peak list files to read.

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.