cwlShiny | R Documentation |
Function to generate shiny app automaticlly for a 'cwlProcess' object.
cwlShiny(cwl, inputList = list(), upload = FALSE, ...)
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'. |
A shiny webapp.
input1 <- InputParam(id = "sth")
echo <- cwlProcess(baseCommand = "echo", inputs = InputParamList(input1))
echoApp <- cwlShiny(echo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.