Description Usage Arguments Value Author(s) See Also Examples
View source: R/ChemicalCuration.R
This basic function using string manipulation to test whether an InChIKey is in the expected format. Useful to detect conversions and retrieval results. This function checks if the string contains 27 characters and 2 dashes/3 blocks.
1 | InChIKey_test(InChIKey)
|
InChIKey |
InChIKey to test. |
Returns TRUE
or FALSE
(fails test).
Emma Schymanski <emma.schymanski@uni.lu>
1 2 3 4 5 | CactusKey <- getCactus("benzene","stdinchikey")
InChIKey_test(CactusKey)
CactusKey <- trimKey(CactusKey)
InChIKey_test(CactusKey)
InChIKey_test("UHOVQNZJYSORNB-UHFFFAOYSA-N")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.