stopWorkflow | R Documentation |
Abort submitted job
stopWorkflow(workspaceName, submissionId = NULL, dry = TRUE)
workspaceName |
Name of the workspace |
submissionId |
A character. Submission ID you want to abort. You can
find the submission id using |
dry |
Logical(1) when |
This function will print out whether the call for workflow abortion was successful or not. In case it was unsuccesful, the diagnosis will be suggested as a part of the message.
library(AnVILBase)
if (
gcloud_exists() && identical(avplatform_namespace(), "AnVILGCP") &&
nzchar(avworkspace_name())
) {
if ("salmon" %in% avworkspaces()$name)
stopWorkflow(workspaceName = "salmon")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.