PrepareInuputFiles: The preparation and input of peak table

View source: R/prepareinput.R

PrepareInuputFilesR Documentation

The preparation and input of peak table

Description

this function enables the preparation and input of peak table which facilitate the subsequent application of other NOREVA functions.

Usage

PrepareInuputFiles(dataformat, rawdata, label)

Arguments

dataformat

Allows the user to specify the FORMAT of their input peak table (default = null) “1” denotes a standardized format of peak table accepted by NOREVA. “2” denotes the customized formats of peak table generated by 12 popular tools (such as XCMS).

rawdata

Allows the user to indicate the NAME of their input peak table file (default = null).

label

Allows the user to indicate the NAME of their input label file (default = null).

Value

prepareinputfiles matrix

Examples

library(NOREVA)
multi_qcs_data <- PrepareInuputFiles(dataformat = 1,
rawdata = "Multiclass_with_QCS.csv")
my_test <- PrepareInuputFiles(dataformat = 2,
rawdata = "example_OpenMS.csv", label = "OpenMS_Label.txt")

idrblab/NOREVA documentation built on April 17, 2025, 2:04 p.m.