downloadRSet: Download a RadioSet object

Description Usage Arguments Value Examples

View source: R/downloadRSet.R

Description

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

Usage

1
downloadRSet(name, saveDir = tempdir(), rSetFileName = NULL, verbose = TRUE)

Arguments

name

Character string, the name of the PhamracoSet to download.

saveDir

Character string with the folder path where the RadioSet should be saved. Defaults to './rSets/'. Will create directory if it does not exist.

rSetFileName

character string, the file name to save the dataset under

verbose

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

Value

A rSet object with the dataset, downloaded from our server

Examples

1
2
3
if (interactive()) {
drugMatrix_rat <- downloadRSet("Cleveland")
}

RadioGx documentation built on Nov. 8, 2020, 8:21 p.m.