chemical_equal {ctxR}R Documentation

Chemical equal

Description

Chemical equal

Usage

chemical_equal(
  word = NULL,
  API_key = NULL,
  Server = chemical_api_server,
  verbose = FALSE
)

Arguments

word

A character string of a chemical name or portion of a chemical name

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 data.frame of chemicals and related values matching the query parameters

Examples


# Pull chemicals with matching DTXSID
bpa_dtxsid <- chemical_equal(word = 'DTXSID7020182')


[Package ctxR version 1.0.0 Index]