Learn R Programming

PubChemR (version 3.0.0)

Interface to the 'PubChem' Database for Chemical Data Retrieval

Description

Provides an interface to the 'PubChem' database via the PUG REST and PUG View services. This package allows users to automatically access chemical and biological data from 'PubChem', including compounds, substances, assays, and various other data types. Functions are available to retrieve data in different formats, perform searches, and access detailed annotations.

Copy Link

Version

Install

install.packages('PubChemR')

Monthly Downloads

382

Version

3.0.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Selcuk Korkmaz

Last Published

March 7th, 2026

Functions in PubChemR (3.0.0)

get_substances

Retrieve Substances from PubChem
get_synonyms

Retrieve Synonyms from PubChem
get_sids

Retrieve Substance IDs (SIDs) from PubChem
has_hits

Check Whether Queries Returned Hits
get_properties

Retrieve Compound Properties from PubChem
pc_capabilities

Inspect Next-Generation Workflow Capabilities
pc_batch

Batch-Orchestrate PubChem Workflows
pc_lifecycle_policy

Versioning and Deprecation Policy
get_pug_rest

Retrieve Data from PubChem PUG REST API
pc_assay_activity_long

Convert PubChem Assay Summary to Long Activity Table
get_pug_view

Retrieve PUG View Data from PubChem
pc_example_assaysummary_payload

Example Assay Summary Payload for Next-Generation Workflows
pc_cross_domain_join

Join Compound, Substance, Assay, and Target Tables
get_sdf

Retrieve/Save SDF Data from PubChem
pc_activity_outcome_map

Harmonize Activity Outcome Labels
pc_model_matrix

Convert Feature Tables to Model Matrix Form
pc_feature_table

Build a Modeling-Ready Feature Table
pc_collect

Collect Results From an Async PubChem Query
pc_identifier_map

Map Identifiers via the Next-Generation API
pc_response

Normalize an HTTP Response Into a Typed PubChem Result
pc_profile

Apply a Predefined Execution Profile
pc_poll

Poll an Asynchronous PubChem ListKey
pc_submit

Submit an Asynchronous PubChem Query
pc_cache_info

Cache Diagnostics for PubChemR
pc_cache_clear

Clear PubChemR Request Cache
pc_resume_batch

Resume a Checkpointed Batch Workflow
sectionList

List Available Section/Subsections
synonyms

Getter function for 'Synonyms'
pc_substance

Query Substance Records via the Next-Generation API
pc_benchmark

Benchmark Chunked PubChem Workflows
pc_activity_matrix

Build an Assay Activity Matrix
pc_compound

Query Compound Records via the Next-Generation API
pc_benchmark_harness

Benchmark Harness for Scale Scenarios
instance

Retrieve Information for Requested Instances
pc_assay

Query Assay Records via the Next-Generation API
pc_similarity_search

Similarity-Driven Identifier Search
pc_config

Configure PubChemR Next-Gen API Defaults
pc_sdq_bioactivity

Retrieve Full Biological Test Results from PubChem SDQ
section

Extract Sections from Pug View Request
pc_to_rcdk

Convert PubChem Tables to rcdk Molecules
pc_request

Unified Transport Layer for PubChem Requests
pc_export_model_data

Export Model-Ready Data
pc_example_feature_table

Example Feature Table for Next-Generation Modeling Workflows
pc_to_chemminer

Convert PubChem Tables to ChemmineR SDF Objects
pc_property

Query Compound Properties via the Next-Generation API
pubChemData

Retrieve Raw Data from PUG REST Object
retrieve

Retrieve Information from PubChem Instances
request_args

Retrieve Function Inputs
AIDs-SIDs-CIDs

Assay, Compound, and Substance Identifiers
PubChemR-classes

PubChemInstanceList and PubChemInstance Classes
get_all_sources

Retrieve All Sources from PubChem
get_cids

Retrieve Compound IDs (CIDs) from PubChem
get_aids

Retrieve Assay IDs (AIDs) from PubChem
get_biological_test_results

Retrieve "Biological Test Results" Section from PubChem Contents
get_compounds

Retrieve Compounds from PubChem
get_assays

Retrieve Assays from PubChem
download

Download Content from PubChem and Save to a File
PugView-classes

Classes for Pug View Request