Skip to contents

Convenience function that retrieves cBioPortal token System Environment variable "CBIOPORTAL_TOKEN"

Usage

get_cbioportal_token()

Value

Returns a string with cBioPortal token if successfully authenticated, or a warning that token could not be found.

Author

Karissa Whiting, Daniel D. Sjoberg

Examples

# \dontrun{
get_cbioportal_token()
#> Warning: No CBIOPORTAL_TOKEN in `.Renviron`. Try `usethis::edit_r_environ()` to add a token
#> [1] ""
# }