RadioSet: RadioSet constructor

Description Usage Arguments Value

View source: R/RadioSet-class.R

Description

A constructor that simplifies the process of creating RadioSets, as well as creates empty objects for data not provided to the constructor. Only objects returned by this constructor are expected to work with the RadioSet methods. For a much more detailed instruction on creating RadioSets, please see the "CreatingRadioSet" vignette.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
RadioSet(
  name,
  molecularProfiles = list(),
  cell = data.frame(),
  radiation = data.frame(),
  sensitivityInfo = data.frame(),
  sensitivityRaw = array(dim = c(0, 0, 0)),
  sensitivityProfiles = matrix(),
  sensitivityN = matrix(nrow = 0, ncol = 0),
  perturbationN = array(NA, dim = c(0, 0, 0)),
  curationCell = data.frame(),
  curationTissue = data.frame(),
  datasetType = c("sensitivity", "perturbation", "both"),
  verify = TRUE
)

Arguments

name

A character string detailing the name of the dataset

molecularProfiles

A list of ExpressionSet objects containing molecular profiles

cell

A data.frame containg the annotations for all the cell lines profiled in the data set, across all data types

radiation

A data.frame containg the annotations for all the radiations profiled in the data set, across all data types

sensitivityInfo

A data.frame containing the information for the sensitivity experiments

sensitivityRaw

A 3 Dimensional array contaning the raw radiation dose <e2><80><93> response data for the sensitivity experiments

sensitivityProfiles

data.frame containing radiation sensitivity profile statistics such as IC50 and AUC

sensitivityN, perturbationN

A data.frame summarizing the available sensitivity/perturbation data

curationCell, curationTissue

A data.frame mapping the names for radiations, cells and tissues used in the data set to universal identifiers used between different RadioSet objects

datasetType

A character string of 'sensitivity', 'perturbation', or both detailing what type of data can be found in the RadioSet, for proper processing of the data

verify

boolean Should the function verify the RadioSet and print out any errors it finds after construction?

Value

An object of class RadioSet


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