Learn R Programming

MetaboAnalystR (version 2.0.0)

PlotSPLS3DScore: 3D SPLS-DA score plot

Description

Sparse PLS-DA (from mixOmics) 3D score plot

Usage

PlotSPLS3DScore(mSetObj = NA, imgName, format = "json", inx1 = 1,
  inx2 = 2, inx3 = 3)

Arguments

mSetObj

Input name of the created mSet Object

imgName

Input a name for the plot

format

Select the image format, "png", or "pdf".

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.