downloadPertSig: Download Drug Perturbation Signatures

Description Usage Arguments Value Examples

View source: R/downloadSignatures.R

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

1
2
3
4
5
6
downloadPertSig(
  name,
  saveDir = file.path(".", "PSets", "Sigs"),
  myfn = NULL,
  verbose = TRUE
)

Arguments

name

A character string, the name of the PharmacoSet for which to download signatures. The name should match the names returned in the 'PSet Name' column of 'availablePSets(canonical=FALSE)'.

saveDir

A character string with the folder path where the PharmacoSet should be saved. Defaults to "./PSets/Sigs/". Will create directory if it does not exist.

verbose

bool Should status messages be printed during download. Defaults to TRUE.

Value

An array type object contaning the signatures

Examples

1
2
3
if (interactive()){
downloadPertSig("CMAP")
}

PharmacoGx documentation built on Feb. 28, 2021, 2 a.m.