Run both Shiny UI and Server modules

CaDrA_App(id, datalist = NULL)

Arguments

id

A unique namespace identifier

datalist

A data frame or path to data file (in cvs or rds format) listing the absolute paths of necessary files to start the app.

The datalist must contains the following variables: 'feature_set' (required), 'feature_set_path' (repuired), 'input_score_name' (required), input_score_path' (required), 'gene_expression_name' (required), 'gene_expression_path' (required)

Default is NULL. If NULL, the app will start with DEFAULT dataset that included in CaDrA package.

Value

A shiny application

Examples


# Load R library
library(shiny)

id = "myapp"

# Create a Shiny app
app <- CaDrA.shiny::CaDrA_App(id = id)

# Launch and deploy Shiny app (NOT RUN)
# shiny::runApp(app, host='0.0.0.0', port=3838)