myCalcAUROC: Classical univariate ROC analysis

View source: R/ROC.R

myCalcAUROCR Documentation

Classical univariate ROC analysis

Description

Classical univariate ROC analysis

Usage

myCalcAUROC(para, cgroup, cpu = 0, plot = FALSE, ...)

Arguments

para

A metaXpara object

cgroup

Samples used

cpu

The number of CPU used

plot

A logical indicates whether plot

...

Additional parameter

Value

A metaXpara object

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)
addValueNorm(para) <- para
res <- myCalcAUROC(para,cgroup=c("S","C"))

## End(Not run)

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