runOPLSDA | R Documentation |
Perform the OPLS-DA analysis
runOPLSDA(para, oplsdaPara, auc = TRUE, sample = NULL,
valueID = "valueNorm", label = "order", labelSize = 4,
pointSize = 1.4, ...)
para |
An object of metaXpara |
oplsdaPara |
An object of oplsDAPara |
sample |
Sample class |
valueID |
The name of column used |
label |
The label used for plot |
labelSize |
The size of label, default is 4 |
pointSize |
The size of point, default is 1.4 |
... |
additional arguments |
A list object
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)
oplsdaPara <- new("oplsDAPara")
runOPLSDA(para,oplsdaPara,sample=c("C","S"),valueID="value",labelSize = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.