check_names function

Amanida harmonization

Amanida harmonization

check_names check the names to harmonize them to a common nomenclature. Valid names are: chemical name, InChI, InChIKey and SMILES.

check_names(data)

Arguments

  • data: data imported using amanida_read function

Returns

tibble table with data imported with PubChem ID retrieved

Details

Note that check_names depends on webchempackage and it slows down the process.

Formats compatible are amanida_read output

Examples

## Not run: coln <- c("Compound Name", "P-value", "Fold-change", "N total", "References") input_file <- getsampleDB() datafile <- amanida_read(input_file, mode = "quan", coln, separator=";") data_checked <- check_names(datafile) ## End(Not run)