Learn R Programming

ChemmineR (version 2.24.2)

launchCMTool: Launch a Tool on ChemMine Tools

Description

Accepts a tool name (string), input options, and input data to launch a remote web tool on the ChemMine Tools website.

Usage

launchCMTool(tool_name, input = "", ...)

Arguments

tool_name
A tool name matching verbatim an existing tool name as listed by listCMTools.
input
Input data in the format required for this tool as listed by listCMTools.
...
Additional options as mentioned by running toolDetails on the tool specified.

Value

jobToken
for details see ?"jobToken-class"

Details

By running the function toolDetails on a tool of choice, you can see a pre-generated example function call for this tool.

References

See ChemMine Tools at http://chemmine.ucr.edu.

See Also

Functions: toolDetails, listCMTools, result, browseJob, status

Examples

Run this code
## 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)

Run the code above in your browser using DataLab