is.inchikey_cs {webchem} | R Documentation |
Check if input is a valid inchikey using ChemSpider API
Description
Check if input is a valid inchikey using ChemSpider API
Usage
is.inchikey_cs(x, verbose = getOption("verbose"))
Arguments
x |
character; input string |
verbose |
logical; print messages during processing to console? |
Value
a logical
See Also
is.inchikey
for a pure-R implementation.
Examples
## 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)
[Package webchem version 1.3.0 Index]