View source: R/chemmine_tools.R
launchCMTool | R Documentation |
Accepts a tool name (string), input options, and input data to launch a remote web tool on the ChemMine Tools website.
launchCMTool(tool_name, input = "", ...)
tool_name |
A tool name matching verbatim an existing tool name as listed by |
input |
Input data in the format required for this tool as listed by |
... |
Additional options as mentioned by running |
By running the function toolDetails
on a tool of choice, you can see
a pre-generated example function call for this tool.
jobToken |
for details see ?"jobToken-class" |
Tyler William H Backman
See ChemMine Tools at http://chemmine.ucr.edu.
Functions: toolDetails
, listCMTools
, result
, browseJob
, status
## Not run:
## list available tools
listCMTools()
## get detailed instructions on using a tool
toolDetails("Fingerprint Search")
## download compound 2244 from PubChem
job1 <- launchCMTool("pubchemID2SDF", 2244)
## check job status and download result
status(job1)
result1 <- result(job1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.