plot3PCA | R Documentation |
Methdo to draw a plot for samples using three PC contained in an ExposomePCA
plot3PCA( object, cmpX, cmpY, cmpZ, phenotype, main, angle = 35, pch = 16, legend = TRUE, plines = TRUE )
object |
An onbject of class ExposomePCA |
cmpX |
Component to be placed at X axis |
cmpY |
Component to be placed at Y axis |
cmpZ |
Component to be placed at Z axis |
phenotype |
Used to color samples by phentoype |
main |
Title for the plot |
angle |
(default |
pch |
(default |
legend |
(default |
plines |
(default |
A list
with different graphics option from scatterplot3d
.
pca to compite PCA on an ExposomeSet, plotPCA to plot the PCA, ExposomePCA as main class data("exposome") epca <- pca(expo[3:7, 1:100]) plot3PCA(epca, cmpX = 1, cmpY = 2, cmpZ = 3, phenotype = "sex")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.