getChemblMechanism: Get ChEMBL Mechanism

View source: R/chembl.R

getChemblMechanismR Documentation

Get ChEMBL Mechanism

Description

This function retrieves information about the mechanism of action for a given ChEMBL ID.

Usage

getChemblMechanism(
  chembl.ID,
  resources = "mechanism",
  field = "molecule_chembl_id",
  filter_type = "in",
  returnURL = FALSE,
  raw = FALSE
)

Arguments

chembl.ID

The ChEMBL ID of the molecule.

resources

The ChEMBL resource to query (default: "mechanism").

field

The field to filter on (default: "molecule_chembl_id").

filter_type

The filter type to use (default: "in").

returnURL

Logical indicating whether to return the constructed URL (default: FALSE).

raw

Logical indicating whether to return the raw response JSON (default: FALSE).

Value

A data.table containing the retrieved mechanism information.

Examples

getChemblMechanism("CHEMBL1413")
getChemblMechanism("CHEMBL1413",
  resources = "mechanism", field = "molecule_chembl_id",
  filter_type = "in", returnURL = FALSE, raw = FALSE
)


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