Orthogonal PLS-DA (from ropls) perform permutation, using training classification accuracy as indicator, for two or multi-groups
PlotOPLS.Permutation(mSetObj = NA, imgName, format = "png", dpi = 72,
num = 100, width = NA)
Input name of the created mSet Object
Input a name for the plot
Select the image format, "png", or "pdf".
Input the dpi. If the image format is "pdf", users need not define the dpi. For "png" images, the default dpi is 72. It is suggested that for high-resolution images, select a dpi of 300.
Input the number of permutations, default is set to 100.
Input the width, there are 2 default widths, the first, width = NULL, is 10.5. The second default is width = 0, where the width is 7.2. Otherwise users can input their own width.