get_chemical_synonym_batch {ctxR}R Documentation

Get chemical synonym batch

Description

Get chemical synonym batch

Usage

get_chemical_synonym_batch(
  DTXSID = NULL,
  API_key = NULL,
  rate_limit = 0L,
  verbose = FALSE
)

Arguments

DTXSID

A list of chemical identifier DTXSIDs

API_key

The user-specific API key.

rate_limit

The number of seconds to wait between requests.

verbose

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

Value

A named list of lists containing synonym information for each input DTXSID.

Examples


# Pull synonyms for multiple chemicals
dtxsid <- c('DTXSID7020182', 'DTXSID2021315')
batch_synonyms <- get_chemical_synonym_batch(DTXSID = dtxsid)


[Package ctxR version 1.0.0 Index]