plot.perf.pls | R Documentation |
Function to plot performance criteria, such as MSEP, RMSEP, R^2
,
Q^2
for s/PLS methods as a function of the number of components.
## S3 method for class 'perf.pls.mthd'
plot(
x,
criterion = "MSEP",
xlab = "Number of components",
ylab = NULL,
LimQ2 = 0.0975,
LimQ2.col = "grey30",
sd = NULL,
pch = 1,
pch.size = 3,
cex = 1.2,
col = color.mixo(1),
title = NULL,
...
)
## S3 method for class 'perf.spls.mthd'
plot(
x,
criterion = "MSEP",
xlab = "Number of components",
ylab = NULL,
LimQ2 = 0.0975,
LimQ2.col = "grey30",
sd = NULL,
pch = 1,
pch.size = 3,
cex = 1.2,
col = color.mixo(1),
title = NULL,
...
)
x |
an |
criterion |
character string. What type of validation criterion to plot
for |
xlab , ylab |
titles for |
LimQ2 |
numeric value. Signification limit for the components in the
model. Default is |
LimQ2.col |
character string specifying the color for the |
sd |
If 'nrepeat' was used in the call to 'perf', error bar shows the standard deviation if sd=TRUE. For mint objects sd is set to FALSE as the number of repeats is 1. |
pch |
Plot character to use. |
pch.size |
Plot character size to use. |
cex |
A numeric which adjusts the font size in the plot. |
col |
Character. Colour to be used for data points. |
title |
Character, Plot title. Not used by PLS2 feature-wise measure plots. |
... |
Not used. |
plot.perf
creates one plot for each response variable in the model,
laid out in a multi-panel display. See ?perf for examples.
none
Al J Abadi
Rohart F, Gautier B, Singh A, LĂȘ Cao K-A. mixOmics: an R package for 'omics feature selection and multiple data integration. PLoS Comput Biol 13(11): e1005752
pls
, spls
, plsda
,
splsda
, perf
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.