gtoxImportThermoDB {GladiaTOX} | R 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 = "http://pmichlauapp225.pmintl.net:2020/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)

[Package GladiaTOX version 1.0.0 Index]