indPCA3D | R Documentation |
Plots the coordinate of the samples on a PCA plot in 3D. The colors used for the plotting will correspond to the main_factor of the romics_object. The axis to be plotted can be chosen. The PCA results are calculated using the function romicsPCA (see the documentation of this function for more details).
indPCA3D(romics_object, Xcomp = 1, Ycomp = 2, Zcomp = 3, ...)
romics_object |
has to be a log transformed romics_object created using romicsCreateObject() and transformed using the function log2transform() or log10transform() |
Xcomp |
numerical/double. Indicate the cp to plot on the X axis |
Ycomp |
numerical/double. Indicate the cp to plot on the Y axis |
Zcomp |
numerical/double. Indicate the cp to plot on the Z axis |
... |
further arguments passed to or from other methods |
This function will plot the results of a PCA calculated on the romics_object data layer using the function romicsPCA() (see documentation for more details).
Returns a 3D plot generated with the plot3D::scatter3D() function.
Geremy Clair
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.