get_chemical_mrv {ctxR}R Documentation

Get mrv file by DTXSID or DTXCID

Description

Get mrv file by DTXSID or DTXCID

Usage

get_chemical_mrv(
  DTXSID = NULL,
  DTXCID = NULL,
  API_key = NULL,
  Server = chemical_api_server,
  verbose = FALSE
)

Arguments

DTXSID

The chemical identifier DTXSID

DTXCID

The chemical identifier DTXCID

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

XML file format for representing a mrv file.

Examples


# Pull mrv file for BPA by dtxsid
bpa_mrv <- get_chemical_mrv(DTXSID = 'DTXSID7020182')
# Pull mrv file for BPA by dtxcid
bpa_mrv <- getchemical_mrv(DTXCID = 'DTXCID30182')


[Package ctxR version 1.0.0 Index]