oncoKB | R Documentation |
This section of the documentation lists the functions that
allow users to access the oncoKB API. The main representation of the
API can be obtained from the oncoKB
function. The supporting
functions listed here give access to specific parts of the API and
allow the user to explore the API with individual calls.
oncoKB(
hostname = "www.oncokb.org",
protocol = "https",
api. = .DEMO_ENDPOINT,
token = character()
)
hostname |
character(1) The internet location of the service (default: 'www.cbioportal.org') |
protocol |
character(1) The internet protocol used to access the hostname (default: 'https') |
api. |
character(1) The directory location of the API protocol within the hostname (default: '/api/api-docs') |
token |
character(1) The Authorization Bearer token e.g., "63eba81c-2591-4e15-9d1c-fb6e8e51e35d" or a path to text file. |
oncoKB: An API object of class 'oncoKB'
oncokb <- oncoKB()
## Authorization: Bearer token as a file
if (interactive())
oncoKB(token = "~/onco_token.txt")
names(operations(oncokb))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.