queryChemblAPI: Query the ChEMBL API

View source: R/chembl.R

queryChemblAPIR Documentation

Query the ChEMBL API

Description

This function queries the ChEMBL API using the specified parameters and returns the response in JSON format.

Usage

queryChemblAPI(resource, field, filter_type, value, format = "json")

Arguments

resource

The resource to query in the ChEMBL API.

field

The field to filter on in the ChEMBL API.

filter_type

The type of filter to apply in the ChEMBL API.

value

The value to filter on in the ChEMBL API.

format

The format of the response (default is "json").

Value

The response from the ChEMBL API in JSON format.

Examples

queryChemblAPI("mechanism", "molecule_chembl_id", "in", "CHEMBL1413")


bhklab/AnnotationGx documentation built on April 3, 2025, 4:27 p.m.