get_lists_containing_chemical {ctxR}R Documentation

Get chemical lists containing given chemical

Description

Get chemical lists containing given chemical

Usage

get_lists_containing_chemical(
  DTXSID = NULL,
  API_key = NULL,
  Server = chemical_api_server,
  verbose = FALSE
)

Arguments

DTXSID

The chemical identifier DTXSID

API_key

The user-specific API key

Server

The root address for the API endpoint

verbose

A logical indicating if some “progress report” should be given.

Value

A list of names of chemical lists that contain the given chemical

Examples


# Pull chemical lists containing BPA
bpa_lists <- get_lists_containing_chemical(DTXSID = 'DTXSID7020182')


[Package ctxR version 1.0.0 Index]