pca: The server function of the pca module

View source: R/pca.R

pcaR Documentation

The server function of the pca module

Description

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.

Usage

pca(input, output, session, eselist)

Arguments

input

Input object

output

Output object

session

Session object

eselist

ExploratorySummarizedExperimentList object containing ExploratorySummarizedExperiment objects

Details

This function is not called directly, but rather via callModule() (see example).

Matrix and UI selection elements provided by the selectmatrix module

Examples

callModule(pca, "pca", eselist)

# Almost certainly used via application creation

data(zhangneurons)
app <- prepareApp("pca", zhangneurons)
shiny::shinyApp(ui = app$ui, server = app$server)


pinin4fjords/shinyngs documentation built on Jan. 18, 2025, 7:09 p.m.