plot3dSample {EMA} | R Documentation |
Sample representation in 3 dimensions for Principal Component Analysis
plot3dSample(acp, lab = NULL, palette="rainbow", ...)
acp |
result from PCA or do.pca function |
lab |
colored by lab |
palette |
character, name of color palette, by default = "rainbow" |
... |
Arguments to be passed to methods, such as graphical parameters (see 'par'). |
Sample representation in 3 dimensions
EMA group
## Not run: data(marty) ## PCA on sample example.subset <- marty[1:100,1:100] pca <- runPCA(t(example.subset), plotSample = FALSE, plotInertia = FALSE, verbose = FALSE) ## Sample plot in 3 dimensions colored by tumour type plot3dSample(pca, lab = marty.type.cl) ## End(Not run)