PlotPLS: Plot PLS

Description Usage Arguments See Also

Description

Set of functions for plotting the results of PLS.

PlotPLSPairSummary - plot summary.

PlotPLS2DScore - plot 2D score plot.

PlotPLSLoadings - plot loadings.

PlotPLS.Classification - plot PLSDA classification performance using different components

PlotPLS.Permutation - plot PLSDA permutation plot.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
PlotPLSPairSummary(dataSet, analSet, imgName = "pls_pair_", format = "png",
  dpi = 72, width = NA, pc.num = 2)

PlotPLS2DScore(dataSet, analSet, imgName = "pls_score2d_", format = "png",
  dpi = 72, width = NA, inx1 = 1, inx2 = 2, reg = 0.95, show = TRUE,
  gray.scale = F)

PlotPLSLoading(dataSet, analSet, imgName = "pls_loading_", format = "png",
  dpi = 72, width = NA, plotType = "scatter", show = T)

PlotPLS.Classification(dataSet, analSet, imgName = "plsda_", format = "png",
  dpi = 72, width = NA)

PlotPLS.Permutation(dataSet, analSet, imgName = "pls_perm_", format = "png",
  dpi = 72, width = NA)

Arguments

dataSet

List, data set object generated by MS_to_MA function.

analSet

List, containing the results of statistical analysis (can be just an empty list).

imgName

Image file name prefix.

format

Image format, one of: "png", "tiff", "pdf", "ps", "svg"

dpi

Image resolution.

width

Image width.

pc.num

The number of plotted principal components.

inx1, inx2

The order numbers of PCs.

reg

Set the confidence level for plotting confidence region ellipse.

show

If TRUE then points at the plot are labeled.

gray.scale

If TRUE then plot is colored in 50 shades of gray.

plotType

"scatter" for scatter plot or "boxplot" for box plot

See Also

PLS.Anal, PLS.Loadings, PLSDA.CV, PLSDA.Permut


flajole/MApckg documentation built on May 16, 2019, 1:16 p.m.