Description Usage Arguments Value Author(s) Examples
Select the best component for PLS-DA
1 2 3 |
para |
A metaXpara object |
np |
The number of max component |
sample |
The sample class used |
t |
Method used to transform the data |
method |
See |
scale |
Method used to scale the data |
center |
Centering |
valueID |
The name of column contained the data |
validation |
See |
k |
k-fold |
... |
Additional parameter |
A list
Bo Wen wenbo@genomics.cn
1 2 3 4 5 6 7 8 | 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)
selectBestComponent(para,np=10,sample=c("S","C"),scale="uv",valueID="value")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.