View source: R/export-sevenbridges.R
export_sevenbridges | R Documentation |
Export BioCompute Object to Seven Bridges Platforms
export_sevenbridges( file, name = NULL, project = NULL, token = NULL, base_url = "https://api.sbgenomics.com/v2/", overwrite = TRUE )
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 |
Response of the file upload request
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.