Read.PeakListData: Constructor to read uploaded user files into the mummichog...

View source: R/peaks_to_function.R

Read.PeakListDataR Documentation

Constructor to read uploaded user files into the mummichog object

Description

This function handles reading in CSV or TXT files and filling in the mSet object for mummichog analysis. It makes sure that all necessary columns are present.

Usage

Read.PeakListData(mSetObj=NA, filename = NA, meta.anal = FALSE, method = "pvalue")

Arguments

mSetObj

Input the name of the created mSetObj.

filename

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

meta.anal

Logical, TRUE if data will be used for meta-analysis.

method

Input the type of statistical scores included in the mummichog input. "pvalue" for p-values, "es" for effect-sizes, and "both" for both p-values and effect-sizes.

Author(s)

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


xia-lab/MetaboAnalystR documentation built on Feb. 17, 2025, 11:46 a.m.