rxdbQuery_v1 | R Documentation |
very simple query formulation, build queries using endpoints of bhklab PharmacoDB API
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
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.