makeMetaboAnalystInput: Export a csv file which can be used for MetaboAnalyst

makeMetaboAnalystInputR Documentation

Export a csv file which can be used for MetaboAnalyst

Description

Export a csv file which can be used for MetaboAnalyst

Usage

makeMetaboAnalystInput(para, rmQC = TRUE, valueID = "valueNorm",
  zero2NA = TRUE, prefix = NA, ...)

Arguments

para

A metaXpara object

rmQC

A logical indicates whether remove the QC data

valueID

The name of the column which will be used

zero2NA

A logical indicates whether convert the value <=0 to NA

prefix

The prefix of output file

...

Additional parameter

Value

none

Author(s)

Bo Wen wenbostar@gmail.com

Examples

para <- new("metaXpara")
pfile <- system.file("extdata/MTBLS79.txt",package = "metaX")
sfile <- system.file("extdata/MTBLS79_sampleList.txt",package = "metaX")
rawPeaks(para) <- read.delim(pfile,check.names = FALSE)
sampleListFile(para) <- sfile
para <- reSetPeaksData(para)
para <- missingValueImpute(para)
makeMetaboAnalystInput(para,valueID="value")

wenbostar/metaX documentation built on July 4, 2023, 7:50 p.m.