pca | R Documentation |
This module calculates a PCA and formats components and loadings for display.
It uses a common set of controls, generated with the
scatterplotcontrols
module, to power scatter plots for both components
and loadings produced by the scatterplots
module.
pca(input, output, session, eselist)
input |
Input object |
output |
Output object |
session |
Session object |
eselist |
ExploratorySummarizedExperimentList object containing ExploratorySummarizedExperiment objects |
This function is not called directly, but rather via callModule() (see example).
Matrix and UI selection elements provided by the selectmatrix module
callModule(pca, "pca", eselist)
# Almost certainly used via application creation
data(zhangneurons)
app <- prepareApp("pca", zhangneurons)
shiny::shinyApp(ui = app$ui, server = app$server)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.