Description Usage Arguments Value Author(s) Examples
Plot PLS-DA figure
1 |
para |
A |
label |
The label used for plot PLS-DA figure, default is "order" |
valueID |
The name of the column which will be used |
ncomp |
The number of components used for PLS-DA |
... |
Additional parameter |
none
Bo Wen wenbo@genomics.cn
1 2 3 4 5 6 7 8 9 10 | 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,valueID = "value")
para <- preProcess(para=para,scale = "uv",center = TRUE,valueID = "value")
plotPLSDA(para,valueID="value")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.