Plot PLS score plot
PlotPLS2DScore(mSetObj = NA, imgName, format = "png", dpi = 72,
width = NA, inx1, inx2, reg = 0.95, show = 1, grey.scale = 0,
use.sparse = FALSE)
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 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.
Numeric, indicate the number of the principal component for the x-axis of the loading plot.
Numeric, indicate the number of the principal component for the y-axis of the loading plot.
Numeric, default is 0.95
Show labels, 1 or 0
Numeric, use a grey scale (0) or not (1)
Logical, use a sparse algorithm (T) or not (F)