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

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)