COBRAapp {iCOBRA} | R 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)
    }

[Package iCOBRA version 1.22.2 Index]