peakStat: Do the univariate and multivariate statistical analysis

peakStatR Documentation

Do the univariate and multivariate statistical analysis

Description

Do the univariate and multivariate statistical analysis

Usage

peakStat(para, plsdaPara, doROC = TRUE, saveRds = TRUE, ...)

Arguments

para

A metaXpara object

plsdaPara

A plsDAPara object

doROC

A logical indicates whether to calculate the ROC

saveRds

Boolean, setting the argument to TRUE to save some objects to disk for debug. Only useful for developer. Default is TRUE.

...

Additional parameter

pcaLabel

The label used for PCA score plot, "none","order" and "sample" are supported. Default is "none"

Value

none

An object of metaXpara

Author(s)

Bo Wen wenbostar@gmail.com

Examples

## Not run: 
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)
ratioPairs(para) <- "S:C"
addValueNorm(para) <- para
plsdaPara <- new("plsDAPara")
res <- peakStat(para,plsdaPara)

## End(Not run)

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