Assembling an RMA Quantification Matrix for the CCLE Data ======================================================== Keith A. Baggerly ## 1 Executive Summary ### 1.1 Introduction We want to produce an RData file with a matrix of RMA expression values for the cancer cell lines profiled as part of the Cancer Cell Line Encylcopedia [(CCLE)](#ccle12) on Affymetrix U133+2 arrays. ### 1.2 Methods We acquired a tarball of the 917 gzipped CEL files used from the Gene Expression Omnibus (GEO) page for GSE36133, [http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE36133](http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE36133), on Sep 14, 2012. (Warning - this file is over 4G, so it may not download properly to a 32-bit machine.) We used justRMA to compute RMA fits, and used our previously assembled clinical information to map the GEO GSM ids to remap the column (sample) names. ### 1.3 Results We save ccleExpression to the RData file "ccleExpression.RData". ## 2 Libraries We first load the libraries we will use in this report. ```{r libraries, message=FALSE} library(affy) library(hgu133plus2cdf) ``` ## 3 Loading Clinical Information Next, we load our previously assembled clinical information. ```{r loadCCLEClinical} load(file.path("RDataObjects","ccleClinical.RData")) ``` ## 4 Specifying the Raw Data Location Here, we specify the location of the data we acquired from GEO on our local system. You will need to acquire these files and adjust this path before running this report yourself. ```{r pathToCcleData} pathToCCLEData <- file.path("RawData","CCLE", "CEL_Files") ``` ## 5 Quantifying The CEL Files First, we specify the CEL file paths in a character vector for passing to justRMA. ```{r celFilePaths, message=FALSE} celFileNames <- dir(pathToCCLEData,pattern="^GSM") celFilePaths <- file.path(pathToCCLEData,celFileNames) ``` Now we use justRMA to summarize expression at the probeset level. ```{r fitRMA, message=FALSE} d1 <- date() ccleExpression <- justRMA(filenames=celFilePaths,compress=TRUE) ccleExpression <- exprs(ccleExpression) d2 <- date() ``` ```{r checkTiming} c(d1,d2) dim(ccleExpression) ccleExpression[1:3,1:3] ``` The justRMA computation takes about 40 minutes on my MacBook Pro; the sheer volume of the data makes this challenging. ## 6 Mapping CEL Names to Sample IDs We now use the clinical information to replace the GEO GSM ids with the sample ids in the column names. ```{r remapColumnNames} tempClinRows <- match(substr(colnames(ccleExpression),1,9), as.character(ccleClinical[,"GEO.ID"])) tempNames <- rownames(ccleClinical)[tempClinRows] ccleClinical[tempNames[1:3],] colnames(ccleExpression)[1:3] colnames(ccleExpression) <- tempNames ccleExpression[1:3,1:3] ``` ## 7 Saving RData Now we save the relevant information to an RData object. ```{r saveCCLEExpression} save(ccleExpression, file=file.path("RDataObjects","ccleExpression.RData")) ``` ## 8 Appendix ### 8.1 File Location ```{r getLocation} getwd() ``` ### 8.2 SessionInfo ```{r sessionInfo} sessionInfo(); ``` ## 9 References >

[1] Barretina J, Caponigro G, Stransky N, Venkatesan K et al. The Cancer Cell Line Encyclopedia enables predictive modelling of anticancer drug sensitivity. Nature, 483(7391):603-7, 2012. PMID: 22460905.