Learn R Programming

MetaboAnalystR (version 2.0.0)

iPCA.Anal: Perform PCA analysis, prepare file for interactive liveGraphics3D

Description

Perform PCA analysis, prepares a JSON file for interactive liveGraphics3D, as well as interactive 3D PCA score and loading plots using the plotly R package. These plots are saved in the created mSetObj; to view these, type "mSetObj$imgSet$time$score3d" to view the interactive score plot, and "mSetObj$imgSet$time$load3d" to view the interactive loading plot.

Usage

iPCA.Anal(mSetObj, fileNm)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects)

fileNm

select a file name