cwlShiny: cwlShiny

View source: R/cwlShiny.R

cwlShinyR Documentation

cwlShiny

Description

Function to generate shiny app automaticlly for a 'cwlProcess' object.

Usage

cwlShiny(cwl, inputList = list(), upload = FALSE, ...)

Arguments

cwl

A cwlProcess object.

inputList

a list of choices for the inputs of cwl object. The name of the list must match the inputs of the cwl object.

upload

Whether to upload file. If FALSE, the upload field will be text input (file path) instead of file input.

...

More options for 'runCWL'.

Value

A shiny webapp.

Examples

input1 <- InputParam(id = "sth")
echo <- cwlProcess(baseCommand = "echo", inputs = InputParamList(input1))
echoApp <- cwlShiny(echo)

rworkflow/Rcwl documentation built on April 25, 2024, 5:12 a.m.