plot_ly_pca | R Documentation |
Generate a PCA 3D or 2D plot with plotly
plot_ly_pca(mtx, covariate_data, threeD = TRUE, cov_default = NULL)
mtx |
PCA matrix (typically |
covariate_data |
data frame with covariates to display (character, factor or continuous) |
threeD |
if FALSE, a 2D plot will be produced |
cov_default |
default covariate names (must be names of columns of |
the plotly object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.