validate_checksum_v1.4.2 | R Documentation |
BioCompute Objects checksum validator (v1.4.2)
validate_checksum_v1.4.2(file) validate_checksum(file)
file |
Path to the BCO JSON file |
Logical. TRUE
if the checksum matched, FALSE
if not.
An SHA-256 checksum is calculated and stored in the top level fields when a BioCompute Object is created. In reality, due to the delicate differences in how the data in JSON is represented, parsed, and handled in different languages, there could be false positives in the validation results.
bco <- tempfile(fileext = ".json") generate_example("HCV1a") %>% convert_json() %>% export_json(bco) bco %>% validate_checksum()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.