plot_pca_shiny | R Documentation |
Simple PCA plot in a browser using shiny
plot_pca_shiny(x, covar, colorBy = NULL, symbolBy = NULL)
x |
matrix or data frame for PCA |
covar |
covariate file |
colorBy |
name of the covariate column for coloring |
symbolBy |
name of the covariate column for chosing symbols |
if(interactive()) {
plot_pca_shiny(iris[,1:4], iris[,5,drop=FALSE])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.