getDataset: Obtain a data set according to a study name

Description Usage Arguments Value Examples

Description

getDataset requests a particular dataset according to user specified study

Usage

1

Arguments

study

[vector] vector of studies from which to obtain data

summary

[boolean] optional parameter of whether or not to return summary data if summary=TRUE, summary data is returned if summary=FALSE, dose response data is returned default is summary=FALSE

stats

[vector] vector of summary statistics values to return default is NULL because default for summary is FALSE

Value

list of data.frame containing data if found or NA if data does not exist

Examples

1
2
3
4
getDataset("CCLE") ## get the CCLE dose-response data
getDataset(c("CGP", "GNE")) ## get CGP and GNE dose-response data
getDataset("CTRP", summary=TRUE) ## get all summary statistics for CTRP data
getDataset("CGP", stats = c("IC50_published")) ## get IC50 values in CGP

bhklab/RPharmacoDB documentation built on May 12, 2019, 8:26 p.m.