createModels: Create predictive models

Description Usage Arguments Value Examples

Description

Create predictive models

Usage

1
createModels(para, method = "plsda", group = NA, valueID = "value", ...)

Arguments

para

An object of metaXpara

method

Method for model construction

group

Sample class used

valueID

The name of column used

...

Additional arguments.

Value

A list object

Examples

 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")

metaX documentation built on Oct. 5, 2016, 4:41 a.m.

Related to createModels in metaX...