downloadPertSig {PharmacoGx} | R Documentation

## Download Drug Perturbation Signatures

### Description

This function allows you to download an array of drug perturbation signatures, as would be computed by the `drugPerturbationSig` function, for the available perturbation `PharmacoSets`. This function allows the user to skip these very lengthy calculation steps for the datasets available, and start their analysis from the already computed signatures

### Usage

    downloadPertSig(name, saveDir = file.path(".", "PSets", "Sigs"),
      myfn = NULL, verbose = TRUE)

### Arguments

`name` | `Character` string, the name of the PharmacoSet for which to download signatures. The name should match the names returned in the availablePSets table.
`saveDir` | `Character` string with the folder path where the PharmacoSet should be saved. Defaults to `"./PSets/Sigs/"`. Will create directory if it does not exist.
`myfn` | `character` string, the file name to save the dataset under
`verbose` | `bool` Should status messages be printed during download. Defaults to TRUE.

### Value

An array type object contaning the signatures

### Examples

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

[Package PharmacoGx version 1.14.2 Index]