plotPLSDA: Plot PLS-DA figure

plotPLSDAR Documentation

Plot PLS-DA figure

Description

Plot PLS-DA figure

Usage

plotPLSDA(para, label = "order", valueID = "valueNorm", ncomp = 5,
  ...)

Arguments

para

A metaXpara object

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

Value

none

Author(s)

Bo Wen wenbostar@gmail.com

Examples

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

wenbostar/metaX documentation built on July 4, 2023, 7:50 p.m.