downloadPSet {PharmacoGx} | R Documentation

## Download a PharmacoSet object

### Description

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

### Usage

    downloadPSet(name, saveDir = file.path(".", "PSets"),
      pSetFileName = NULL, verbose = TRUE)

### Arguments

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

### Value

A PSet object with the dataset, downloaded from our server

### Examples

    if (interactive()){
    downloadPSet("CMAP")
    }

[Package PharmacoGx version 1.14.2 Index]