runWorkflow | R Documentation |
Launch Terra workflow
runWorkflow(
workspaceName,
config,
workflowName = NULL,
useCallCache = TRUE,
inputName = NULL
)
workspaceName |
Name of the workspace that contains the workflow(s) you want to launch. |
config |
Workflow configuration. Output from the
|
workflowName |
Name of the workflow to run. If this input is not provided but there is only a single workflow available, the function will automatically use the only workflow. |
useCallCache |
A logical. Under the default condition ( |
inputName |
Name of you input entity. If the workflow is using Terra's
data model, this is required. The available entities can be found using the
|
This function will print out whether the call for workflow launching was successful or not.
library(AnVILBase)
if (
gcloud_exists() && identical(avplatform_namespace(), "AnVILGCP") &&
nzchar(avworkspace_name())
) {
if ("salmon" %in% avworkspaces()$name)
runWorkflow(workspaceName = "salmon")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.