met.plot_PLS3DLoading
visualizes which features are responsible for the patterns seen among the samples in partial least squares-discriminant analysis.
Usage
met.plot_PLS3DLoading(
mSetObj = NA,
imgName = "PLS3DLoading",
format = "json",
inx1 = 1,
inx2 = 2,
inx3 = 3,
export = F
)
Arguments
- mSetObj
Input name of the created mSet object. Data container after partial least squares-discriminant analysis (
met.PLSR.Anal
andmet.PLSDA.CV
).- imgName
(Character) Enter a name for the image file (if
export = TRUE
).- format
format.
- inx1
(Numeric) Indicate the number of the principal component for the x-axis of the loading plot.
- inx2
(Numeric) Indicate the number of the principal component for the y-axis of the loading plot.
- inx3
(Numeric) Indicate the number of the principal component for the z-axis of the loading plot.
- export
(Logical,
TRUE
orFALSE
) Shall the plot be exported as file with the chosen format?
Value
The input mSet object with added 3D scatter plot. The plot can be retrieved from within R by executing met.print_PLS3DLoading(mSetObj$imgSet$pls.loading3d.plot)
.
Author
Nicolas T. Wirth mail.nicowirth@gmail.com Technical University of Denmark License: GNU GPL (>= 2)