File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Burczynski et al. (2006) Chrohn's Disease Data Set
2+ # Installs the data sets from Gene Expression Omnibus (GEO) database
3+ source(' http://bioconductor.org/biocLite.R' )
4+ biocLite(' GEOquery' )
5+ library(' GEOquery' )
6+ geo_obj <- getGEO(' GDS1615' )
7+
Original file line number Diff line number Diff line change 1+ # Burczynski et al. (2006) Chrohn's Disease Data Set
2+ burczynski_x <- Table(geo_obj )
3+ x <- unname(t(data.matrix(burczynski_x [, - c(1 : 2 )])))
4+ colnames(x ) <- burczynski_x [, 1 ]
5+
6+ y <- Columns(geo_obj )$ disease.state
7+
8+ burczynski <- list (x = x , y = y )
9+
Original file line number Diff line number Diff line change 1+ # Save a compressed version of the Burczynski et al. (2006) data set.
2+ # The 'xz' compression format will compress the data more than the
3+ # default 'gzip' format. However, the 'xz' takes slightly longer
4+ # (~2 seconds longer) than 'gzip'.
5+ save(burczynski , file = " burczynski.RData" , compress = " xz" )
Original file line number Diff line number Diff line change @@ -31,6 +31,13 @@ source("2-clean.r")
3131source(" 3-save.r" )
3232file.rename(" chiaretti.RData" , " ../../../data/chiaretti.RData" )
3333
34+ # Burczynski (2006)
35+ setwd(" ../burczynski-2006" )
36+ source(" 1-download.r" )
37+ source(" 2-clean.r" )
38+ source(" 3-save.r" )
39+ file.rename(" burczynski.RData" , " ../../../data/burczynski.RData" )
40+
3441# Christensen (2009)
3542setwd(" ../christensen-2009" )
3643source(" 1-download.r" )
You can’t perform that action at this time.
0 commit comments