is.inchikey_cs | R Documentation |
Check if input is a valid inchikey using ChemSpider API
is.inchikey_cs(x, verbose = getOption("verbose"))
x |
character; input string |
verbose |
logical; print messages during processing to console? |
a logical
is.inchikey
for a pure-R implementation.
## Not run:
# might fail if API is not available
is.inchikey_cs('BQJCRHHNABKAKU-KBQPJGBKSA-N')
is.inchikey_cs('BQJCRHHNABKAKU-KBQPJGBKSA')
is.inchikey_cs('BQJCRHHNABKAKU-KBQPJGBKSA-5')
is.inchikey_cs('BQJCRHHNABKAKU-KBQPJGBKSA-n')
is.inchikey_cs('BQJCRHHNABKAKU/KBQPJGBKSA/N')
is.inchikey_cs('BQJCRHHNABKAKU-KBQPJGBKXA-N')
is.inchikey_cs('BQJCRHHNABKAKU-KBQPJGBKSB-N')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.