################################################### ### chunk: loaddat ################################################### library("Biobase") library("genefilter") library("ALL") data("ALL") ################################################### ### chunk: bcrabl ################################################### bcell = grep("^B", as.character(ALL$BT)) moltyp = which(as.character(ALL$mol.biol) %in% c("NEG", "BCR/ABL")) ALL_bcrneg = ALL[, intersect(bcell, moltyp)] ALL_bcrneg$mol.biol = factor(ALL_bcrneg$mol.biol) ################################################### ### chunk: rowSds ################################################### library("genefilter") sds = rowSds(exprs(ALL_bcrneg)) sh = shorth(sds) sh ################################################### ### chunk: histsds ################################################### hist(sds, breaks=50, col="mistyrose", xlab="standard deviation") abline(v=sh, col="blue", lwd=3, lty=2) ################################################### ### chunk: unspecific ################################################### ALLsfilt = ALL_bcrneg[sds>=sh, ] dim(exprs(ALLsfilt)) ################################################### ### chunk: ttest ################################################### table(ALLsfilt$mol.biol) tt = rowttests(ALLsfilt, "mol.biol") names(tt) ################################################### ### chunk: histp ################################################### hist(tt$p.value, breaks=50, col="mistyrose", xlab="p-value", main="Retained") ################################################### ### chunk: histpunspec ################################################### ALLsrest = ALL_bcrneg[sds