Description Usage Arguments Details Value Author(s) References See Also
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | ## 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 x and y axes. Typically character
strings, but can be expressions (e.g., |
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.