gtoxImportThermoDB: Import data from ThermoDB by study ID

View source: R/gtoxImportThermoDB.R

gtoxImportThermoDBR Documentation

Import data from ThermoDB by study ID

Description

This function accesses the ThermoDB webservices and imports data from ThermoDB to the gtox database.

Usage

gtoxImportThermoDB(asid, verbose = TRUE, write = FALSE,
  store = "STORE", type = "mc",
  curlurl = "https://YOUR_THERMODB_SERVER_HOSTNAME/HTTPHCSConnect")

Arguments

asid

Integer, the assay study/source ID to import data for

verbose

Logical, should the output from the curl be displayed?

write

Logical, should the data be written to the database, or just returned?

store

Character, the name of the store on ThermoDB to query

type

Character, the data type: 'mc' or 'sc'

curlurl

URL of the webservice

Value

Data table with content fetched from Thermo DB.

Examples

## Fetches data from ThermoDB to load in GladiaTOX DB prior processing
conf_store <- gtoxConfList()
gtoxConfDefault()

## Not run: 
## Fetch data from ThermoDB
dat <- gtoxImportThermoDB(asid=1L)

## End(Not run)

## Reset configuration
options(conf_store)


philipmorrisintl/GladiaTOX documentation built on Aug. 27, 2023, 9:07 p.m.