Skip to contents

[

Usage

# S4 method for PharmacoSet,ANY,ANY,ANY
[(x, i, j, ..., drop = FALSE)

Arguments

x

object

i

Cell lines to keep in object

j

Drugs to keep in object

...

further arguments

drop

A boolean flag of whether to drop single dimensions or not

Value

Returns the subsetted object

Examples

data(CCLEsmall)
CCLEsmall["WM1799", "Sorafenib"]
#> <PharmacoSet>
#> Name:  CCLE 
#> Date Created:  Fri Nov  6 14:00:53 2015 
#> Number of samples:  1 
#> Molecular profiles:
#> RNA :
#>   Dim: 50, 1 
#> RNAseq :
#>   Dim: 50, 1 
#> mutation :
#>   Dim: 1667, 1 
#> CNV :
#>   Dim: 50, 1 
#> Treatment response:
#> Drug pertubation:
#>    Please look at pertNumber(cSet) to determine number of experiments  for each drug-sample combination.
#> Drug sensitivity:
#>    Number of Experiments:  1 
#>    Please look at sensNumber(cSet) to determine number of  experiments for each drug-sample combination.