PharmacoSet-class {PharmacoGx} | R Documentation

## A Class to Contain PharmacoGenomic datasets together with their curations

### Description

The PharmacoSet (PSet) class was developed to contain and organise large PharmacoGenomic datasets, and aid in their metanalysis. It was designed primarily to allow bioinformaticians and biologists to work with data at the level of genes, drugs and cell lines, providing a more naturally intuitive interface and simplifying analyses between several datasets. As such, it was designed to be flexible enough to hold datasets of two different natures while providing a common interface. The class can accomidate datasets containing both drug dose response data, as well as datasets contaning genetic profiles of cell lines pre and post treatement with compounds, known respecitively as sensitivity and perturbation datasets.

### Usage

    ## S4 method for signature 'PharmacoSet'
    cellInfo(pSet)

    ## S4 replacement method for signature 'PharmacoSet,data.frame'
    cellInfo(object) <- value

    ## S4 method for signature 'PharmacoSet'
    drugInfo(pSet)

    ## S4 replacement method for signature 'PharmacoSet,data.frame'
    drugInfo(object) <- value

    ## S4 method for signature 'PharmacoSet'
    phenoInfo(pSet, mDataType)

    ## S4 replacement method for signature 'PharmacoSet,character,data.frame'
    phenoInfo(object,
      mDataType) <- value

    ## S4 method for signature 'PharmacoSet'
    molecularProfiles(pSet, mDataType)

    ## S4 replacement method for signature 'PharmacoSet,character,matrix'
    molecularProfiles(object,
      mDataType) <- value

    ## S4 method for signature 'PharmacoSet'
    featureInfo(pSet, mDataType)

    ## S4 replacement method for signature 'PharmacoSet,character,data.frame'
    featureInfo(object,
      mDataType) <- value

    ## S4 method for signature 'PharmacoSet'
    sensitivityInfo(pSet)

    ## S4 replacement method for signature 'PharmacoSet,data.frame'
    sensitivityInfo(object) <- value

    ## S4 method for signature 'PharmacoSet'
    sensitivityProfiles(pSet)

    ## S4 replacement method for signature 'PharmacoSet,data.frame'
    sensitivityProfiles(object) <- value

    ## S4 replacement method for signature 'PharmacoSet,matrix'
    sensitivityProfiles(object) <- value

    ## S4 method for signature 'PharmacoSet'
    sensitivityMeasures(pSet)

    ## S4 method for signature 'PharmacoSet'
    drugNames(pSet)

    ## S4 replacement method for signature 'PharmacoSet,character'
    drugNames(object) <- value

    ## S4 method for signature 'PharmacoSet'
    cellNames(pSet)

    ## S4 replacement method for signature 'PharmacoSet,character'
    cellNames(object) <- value

    ## S4 method for signature 'PharmacoSet'
    fNames(pSet, mDataType)

    ## S4 method for signature 'PharmacoSet'
    dateCreated(pSet)

    ## S4 method for signature 'PharmacoSet'
    pSetName(pSet)

    ## S4 method for signature 'PharmacoSet'
    pertNumber(pSet)

    ## S4 method for signature 'PharmacoSet'
    sensNumber(pSet)

    ## S4 replacement method for signature 'PharmacoSet,array'
    pertNumber(object) <- value

    ## S4 replacement method for signature 'PharmacoSet,matrix'
    sensNumber(object) <- value

### Arguments

`pSet` | A `PharmacoSet` object
`object` | A `PharmacoSet` object
`value` | A replacement value
`mDataType` | A `character` with the type of molecular data to return/update

### Value

An object of the PharmacoSet class

### Methods (by generic)

- `cellInfo`: Returns the annotations for all the cell lines tested on in the PharmacoSet

- `cellInfo<-`: Update the cell line annotations

- `drugInfo`: Returns the annotations for all the drugs tested in the PharmacoSet

- `drugInfo<-`: Update the drug annotations

- `phenoInfo`: Return the experiment info from the given type of molecular data in PharmacoSet

- `phenoInfo<-`: Update the the given type of molecular data experiment info in the PharmacoSet

- `molecularProfiles`: Return the given type of molecular data from the PharmacoSet

- `molecularProfiles<-`: Update the given type of molecular data from the PharmacoSet

- `featureInfo`: Return the feature info for the given molecular data

- `featureInfo<-`: Replace the gene info for the molecular data

- `sensitivityInfo`: Return the drug dose sensitivity experiment info

- `sensitivityInfo<-`: Update the sensitivity experiment info

- `sensitivityProfiles`: Return the phenotypic data for the drug dose sensitivity

- `sensitivityProfiles<-`: Update the phenotypic data for the drug dose sensitivity

- `sensitivityProfiles<-`: Update the phenotypic data for the drug dose sensitivity

- `sensitivityMeasures`: Returns the available sensitivity profile summaries, for example, whether there are IC50 values available

- `drugNames`: Return the names of the drugs used in the PharmacoSet

- `drugNames<-`: Update the drug names used in the dataset

- `cellNames`: Return the cell names used in the dataset

- `cellNames<-`: Update the cell names used in the dataset

- `fNames`: Return the feature names used in the dataset

- `dateCreated`: Return the date the PharmacoSet was created

- `pSetName`: Return the name of the PharmacoSet

- `pertNumber`: Return the summary of available perturbation experiments

- `sensNumber`: Return the summary of available sensitivity experiments

- `pertNumber<-`: Update the summary of available perturbation experiments

- `sensNumber<-`: Update the summary of available sensitivity experiments

### Slots

`annotation`

  A `list` of annotation data about the PharmacoSet, including the `$name` and the session information for how the object was creating, detailing the exact versions of R and all the packages used

`molecularProfiles`

  A `list` containing 4 `Biobase::ExpressionSet` type object for holding data for RNA, DNA, SNP and Copy Number Variation measurements respectively, with associated `fData` and `pData` containing the row and column metadata

`cell`

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

`drug`

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

`sensitivity`

  A `list` containing all the data for the sensitivity experiments, including `$info`, a `data.frame` containing the experimental info,`$raw` a 3D `array` containing raw data, `$profiles`, a `data.frame` containing sensitivity profiles statistics, and `$n`, a `data.frame` detailing the number of experiments for each cell-drug pair

`perturbation`

  A `list` containting `$n`, a `data.frame` summarizing the available perturbation data,

`curation`

  A `list` containing mappings for `$drug`, `cell`, `tissue` names used in the data set to universal identifiers used between different PharmacoSet objects

`datasetType`

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

[Package PharmacoGx version 1.14.2 Index]