mapCID2Properties | R Documentation |
This function maps PubChem Compound IDs to specified properties using the PubChem REST API.
See getPubchemProperties
for a list of available properties.
mapCID2Properties(ids, properties, ...)
ids |
A vector of PubChem Compound IDs. |
properties |
A vector of property names to retrieve for each compound. |
... |
Additional arguments to be passed to the |
A data frame containing the mapped properties for each compound.
mapCID2Properties(ids = c(123, 456), properties = c("MolecularWeight", "CanonicalSMILES"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.