Description Usage Arguments Value Examples
View source: R/class-auth-utils.R
Set authentication environment variables for Seven Bridges API
1 | sbg_set_env(url = NULL, token = NULL)
|
url |
Base URL for API. |
token |
Your authentication token. |
set two environment variables for authentication
1 2 3 4 5 6 7 | # set and get environment variables for CGC
token <- "your_token"
## Not run:
sbg_set_env("https://cgc-api.sbgenomics.com/v2", token)
sbg_get_env("SB_API_ENDPOINT")
sbg_get_env("SB_AUTH_TOKEN")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.