export_sevenbridges {biocompute} | R Documentation |
Export BioCompute Object to Seven Bridges Platforms
Description
Export BioCompute Object to Seven Bridges Platforms
Usage
export_sevenbridges(
file,
name = NULL,
project = NULL,
token = NULL,
base_url = "https://api.sbgenomics.com/v2/",
overwrite = TRUE
)
Arguments
file |
Path to the BCO file. |
name |
Name of the BCO file to create on the platform. Defaults to the name of the input file. |
project |
Project to upload (export) the BCO file to.
Format: |
token |
API auth token for the platform. Generate the token from the platform's Developer Dashboard. |
base_url |
API base URL. Get the base URL from the platform's Developer Dashboard. |
overwrite |
If |
Value
Response of the file upload request
Examples
## Not run:
file_json <- tempfile(fileext = ".json")
generate_example("HCV1a") %>%
convert_json() %>%
export_json(file_json)
try(
export_sevenbridges(
file_json,
project = "rosalind_franklin/project_name",
token = "your_api_auth_token",
base_url = "https://cgc-api.sbgenomics.com/v2/"
)
)
## End(Not run)
[Package biocompute version 1.1.1 Index]