Description Usage Arguments Value Examples
Create predictive models
1 | createModels(para, method = "plsda", group = NA, valueID = "value", ...)
|
para |
An object of |
method |
Method for model construction |
group |
Sample class used |
valueID |
The name of column used |
... |
Additional arguments. |
A list object
1 2 3 4 5 6 7 8 9 10 11 | 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)
para <- transformation(para,method = 1,valueID = "value")
para <- metaX::preProcess(para,scale = "uv",center = TRUE,
valueID = "value")
rs <- createModels(para,method="plsda",group=c("S","C"),valueID="value")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.