powered by
Get extended info from ChemSpider, see https://www.chemspider.com/
cs_extcompinfo(csid, token, verbose = TRUE, ...)
character, ChemSpider ID.
character; security token.
logical; should a verbose output be printed on the console?
currently not used.
a data.frame with entries: 'csid', 'mf' (molecular formula), 'smiles', 'inchi' (non-standard), 'inchikey' (non-standard), 'average_mass', 'mw' (Molecular weight), 'monoiso_mass' (MonoisotopicMass), nominal_mass', 'alogp', 'xlogp', 'common_name' and 'source_url'
get_csid to retrieve ChemSpider IDs, cs_compinfo for extended compound information.
get_csid
cs_compinfo
# NOT RUN { token <- "<redacted>" csid <- get_csid("Triclosan") cs_extcompinfo(csid, token) csids <- get_csid(c('Aspirin', 'Triclosan')) cs_compinfo(csids) # }
Run the code above in your browser using DataLab