get_oncokb_response | R Documentation |
Using httr to query genomic changes on OncoKB in accordance with the web API specification in https://www.oncokb.org/swagger-ui/index.html .
get_oncokb_response( variants.dt, oncokb.token, oncokb.url = "https://www.oncokb.org/api/v1/annotate", reference = "GRCh37" )
variants.dt |
data.table with the variants to query. As a minimum, must contain the following columns: seqnames, start, end, REF, ALT. |
oncokb.token |
a token to use when querying OncoKB. If you don't have a token, you must first obtain one from: https://www.oncokb.org/apiAccess |
list of response object. Response objects can be parsed using httr (for example: httr::content).
Alon Shaiber
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.