webSDF | R Documentation |
The function imports sdf file information from online databases like PubChem and ChemSpider.
NOTE: for the moment it only works for PubChem.
webSDF(query, origin)
query |
Introduce the name of the molecule or other string that can be used to identify chemical structures in online databases. |
origin |
The source where sdf string is exported from (e.g. "pubchem", "chemspider"...). |
The function needs a internet connection in order to search the chemical structure. Also needs access to ChemmineR package from BioConductor.
SDFset <- webSDF("methotrexate", "pubchem")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.