updateInput | R Documentation |
Update the input
updateInput(
workspaceName,
inputs,
config,
workflowName = NULL,
dry = TRUE,
verbose = TRUE
)
workspaceName |
Name of the workspace |
inputs |
A tibble containing new input values. Provide the modified
version of the current input table, which is the output from
|
config |
Workflow configuration. Output from the
|
workflowName |
Name of the workflow to run. If a single workflow is
available under the specified workspace, this function will check the input
of that workflow under the default ( |
dry |
Logical(1). When |
verbose |
Logical(1). When |
With verbose=TRUE
, a list of updated inputs will be
printed. A successful execution of the function will update the input
configuration of the target workflow in Terra/AnVIL.
library(AnVILBase)
if (
gcloud_exists() && identical(avplatform_namespace(), "AnVILGCP") &&
nzchar(avworkspace_name())
) {
if ("salmon" %in% avworkspaces()$name) {
config <- getWorkflowConfig(workspaceName = "salmon")
inputs <- currentInput("salmon", config)
## Modify the contents of 'inputs' table for your analysis
updateInput("salmon", inputs, config)
}}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.