PlotSPLS3DScore: 3D SPLS-DA score plot

View source: R/stats_chemometrics.R

PlotSPLS3DScoreR Documentation

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.

Author(s)

Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MetaboAnalystR documentation built on Dec. 23, 2024, 3:44 p.m.