Skip to content

Commit 59b8b8d

Browse files
committed
Added Burczynski et al. (2006) Chrohn's disease data set.
1 parent d219c01 commit 59b8b8d

5 files changed

Lines changed: 28 additions & 0 deletions

File tree

‎data/burczynski.RData‎

6.75 MB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
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")

‎inst/data_scripts/run_me.r‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ source("2-clean.r")
3131
source("3-save.r")
3232
file.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)
3542
setwd("../christensen-2009")
3643
source("1-download.r")

0 commit comments

Comments
 (0)