powered by
Convenience wrapper around `pc_request()` for assay retrieval workflows.
pc_assay( identifier, namespace = "aid", operation = "description", output = "JSON", options = NULL, ... )
A typed `PubChemRecord` object.
Identifier(s).
PubChem namespace.
Operation.
Output format.
Named list of query options.
Additional arguments forwarded to `httr::RETRY`.
Defaults are tuned for assay description retrieval while preserving all transport controls via `...`.
assay_rec <- pc_assay(367, offline = TRUE) inherits(assay_rec, "PubChemRecord") if (FALSE) { pc_assay(367) }
Run the code above in your browser using DataLab