writeCWL | R Documentation |
write 'cwlProcess' to cwl and yml.
writeCWL(
cwl,
prefix = deparse(substitute(cwl)),
outdir = tempfile(),
docker = TRUE,
libPaths = TRUE,
...
)
cwl |
A 'cwlProcess' or 'cwlWorkflow' object. |
prefix |
The prefix of '.cwl' and '.yml' files to be generated. |
outdir |
The output directory for the '.cwl' and '.yml' files. |
docker |
Whether to use docker. |
libPaths |
Whether to add local R libaray paths to R script. |
... |
Other options from 'yaml::write_yaml'. |
A CWL file and A YML file.
input1 <- InputParam(id = "sth")
echo <- cwlProcess(baseCommand = "echo",
inputs = InputParamList(input1))
writeCWL(echo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.