downloadTSet {ToxicoGx} | R Documentation

## Download a ToxicoSet object

### Description

This function allows you to download a `ToxicoSet` object for use with this package. The `ToxicoSets` have been extensively curated and organised within a ToxicoSet class, enabling use with all the analysis tools provided in `ToxicoGx`.

### Usage

    downloadTSet(name, saveDir = tempdir(), tSetFileName = NULL, verbose = TRUE)

### Arguments

`name` | `Character` string, the name of the PhamracoSet to download.
`saveDir` | `Character` string with the folder path where the ToxicoSet should be saved. Defaults to `'./tSets/'`. Will create directory if it does not exist.
`tSetFileName` | `character` string, the file name to save the dataset under
`verbose` | `bool` Should status messages be printed during download. Defaults to TRUE.

### Value

A tSet object with the dataset, downloaded from our server

### Examples

    if (interactive()) {
    drugMatrix_rat <- downloadtSet("drugMatrix_rat")
    }

[Package ToxicoGx version 1.4.0 Index]