cwlShiny: cwlShiny

Description Usage Arguments Value Examples

View source: R/cwlShiny.R

Description

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

Usage

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

Arguments

cwl

A cwlParam 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

1
2
3
input1 <- InputParam(id = "sth")
echo <- cwlParam(baseCommand = "echo", inputs = InputParamList(input1))
echoApp <- cwlShiny(echo)

Rcwl documentation built on Nov. 8, 2020, 8:11 p.m.