met.plot_PLS.Permutation | R Documentation |
Permutation test is a technique for testing a hypothesis of no effect, when the distribution of the test statistic is unknown. The objective of this test is to confirm that the initial model is superior to other models obtained by permuting the class labels and randomly assigning them to different individuals or, in other words, to answer the question "what is the model's performance if the groups are formed randomly".
met.plot_PLS.Permutation(
mSetObj = NA,
imgName = "PLSDA-Permutation",
format = "pdf",
dpi = NULL,
width = NA,
plot = TRUE,
export = TRUE,
title = FALSE
)
mSetObj |
Input name of the created mSet object.
Data container after partial least squares-discriminant analysis ( |
imgName |
(Character) Enter a name for the image file (if |
format |
(Character, |
dpi |
(Numeric) resolution of the image file (if |
width |
(Numeric) width of the the image file in inches (if |
plot |
(Logical, |
export |
(Logical, |
title |
(Logical) |
The input mSet object with added permutation test plot. The plot can be retrieved from within R via print(mSetObj$imgSet$pls.permut.plot)
.
Nicolas T. Wirth mail.nicowirth@gmail.com Technical University of Denmark License: GNU GPL (>= 2)
adapted from PlotPLS.Permutation
(https://github.com/xia-lab/MetaboAnalystR).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.