View source: R/cloneWorkspace.R
cloneWorkspace | R Documentation |
This function makes your own copy of the existing workspace, selected
through templateName
or analysis
. Your copied/cloned
workspace name will be workspaceName
and any computing cost will
be charaged to the billing linked to your billingProjectName
.
You should provide at least one argument templateName
or
analysis
.
cloneWorkspace(
workspaceName,
templateName = "",
analysis = NULL,
bucketLocation = "us-central1",
accountEmail = gcloud_account(),
billingProjectName = gcloud_project()
)
workspaceName |
Name of the workspace you are creating |
templateName |
Character(1). Name of the template workspace name you
want to clone. You can provide |
analysis |
Character(1). Name of the analysis you want to clone
it's workspace. The list of available analyses can be found using
|
bucketLocation |
Character(1). Region in which bucket attached to the
workspace should be created. Default is |
accountEmail |
Character(1). Email linked to Terra account |
billingProjectName |
Character(1). Name of the billing project |
Name of the cloned workspace
library(AnVILBase)
if (
gcloud_exists() && identical(avplatform_namespace(), "AnVILGCP") &&
nzchar(avworkspace_name())
) {
cloneWorkspace(workspaceName = "salmon",
templateName = "Bioconductor-Workflow-DESeq2")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.