get_cancer_hazard: Get cancer hazard

View source: R/hazard-APIs.R

get_cancer_hazardR Documentation

Get cancer hazard

Description

Get cancer hazard

Usage

get_cancer_hazard(
  DTXSID = NULL,
  API_key = NULL,
  Server = hazard_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 data.frame of cancer hazard data related to the input DTXSID.

Examples


# Pull cancer hazard data for BPA
bpa_cancer <- get_cancer_hazard(DTXSID = 'DTXSID7020182')


ctxR documentation built on April 12, 2025, 2:07 a.m.