Learn R Programming

MetaboAnalystR (version 2.0.0)

PlotPCA3DScore: Create 3D PCA score plot

Description

Rotate PCA analysis

Usage

PlotPCA3DScore(mSetObj=NA, imgName, format="json", inx1, inx2, inx3)

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.