Description Usage Arguments Value Examples
very simple query formulation, build queries using endpoints of bhklab PharmacoDB API
1 2 | rxdbQuery_v1(..., url = "https://pharmacodb.pmgenomics.ca/api/v1/",
decoder = basicDecoder)
|
... |
typically a string representing an API endpoint, will be processed by unlist() and then to paste0 preceded by |
url |
of a PharmacoDB server API target |
decoder |
a function of one argument that will be applied to API response (typically JSON) |
typically a list, dependent on decoder parameter
1 2 | qout = rxdbQuery_v1('cell_lines') # yields 30; append '?all=true' to retrieve all
unlist(lapply(qout, function(x) x[[2]]))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.