COBRAapp: Interactive shiny app to visualize results

View source: R/shiny.R

COBRAappR Documentation

Interactive shiny app to visualize results

Description

Interactive shiny app for visualization of results. The app can be initialized with a COBRAData object. If no object is provided, truth and results are loaded into the app from text files (see the Instructions tab of the app for formatting instructions). Properly formatted text files can also be obtained using the function COBRAData_to_text.

Usage

COBRAapp(cobradata = NULL, autorun = FALSE)

Arguments

cobradata

An (optional) COBRAData object. If not given, the user can load results from text files.

autorun

A logical indicating whether the app calculations should start automatically on launch, or wait for the user to press the 'Start calculation!' button.

Value

Returns (and runs) an object representing the shiny app.

Author(s)

Charlotte Soneson

Examples

data(cobradata_example)
app <- COBRAapp(cobradata_example)
if (interactive()) {
  shiny::runApp(app)
}

markrobinsonuzh/iCOBRA documentation built on March 28, 2024, 2:01 p.m.