## Chunk 1
|
|||
library("ALL")
|
|||
## Chunk 2
|
|||
bcell = grep("^B", as.character(ALL$BT))
|
|||
## Chunk 3
|
|||
moltyp = which(as.character(ALL$mol.biol)
|
|||
## Chunk 4
|
|||
ALL_bcrneg = ALL[, intersect(bcell, moltyp)]
|
|||
## Chunk 5
|
|||
library("vsn")
|
|||
## Chunk 6
|
|||
sds = esApply(ALL, 1, sd)
|
|||
## Chunk 7
|
|||
library("genefilter")
|
|||
## Chunk 8
|
|||
names(tt)
|
|||
## Chunk 9
|
|||
plot(tt$dm, -log10(tt$p.value), pch=".",
|
|||
|
|||
## Chunk 11
|
|||
library("multtest")
|
|||
## Chunk 12
|
|||
hist(rawp, breaks=50, col="#B2DF8A")
|
|||
## Chunk 13
|
|||
sum(resT$adjp<0.05)
|
|||
## Chunk 14
|
|||
res = mt.rawp2adjp(rawp, proc = "BH")
|
|||
## Chunk 15
|
|||
library("limma")
|
|||
## Chunk 16
|
|||
fit = lmFit(exprs(ALLset1), design)
|
|||
## Chunk 17
|
|||
library("hgu95av2.db")
|
|||
## Chunk 18
|
|||
plot(-log10(tt$p.value), -log10(fit$p.value[, "diff"]),
|
|||
## Chunk 19
|
|||
subs = c(35, 65, 75, 1, 69, 71)
|
|||
## Chunk 20
|
|||
tt2 = rowttests(ALLset2, "mol.biol")
|
|||
## Chunk 21
|
|||
plot(-log10(tt2$p.value), -log10(fit2$p.value[, "diff"]),
|
|||
## Chunk 22
|
|||
g = which(tt2$p.value < 1e-4 &
|
|||
## Chunk 23
|
|||
sel = (ALLset2$mol.bio == "BCR/ABL")+1
|
|||
## Chunk 24
|
|||
rocs = rowpAUCs(ALLset1, "mol.biol", p=0.2)
|
|||
## Chunk 25
|
|||
j = which.max(area(rocs))
|
|||
|
|||
## Chunk 27
|
|||
nrsel.ttest = function(x, pthresh=0.05) {
|
|||
## Chunk 28
|
|||
nrsel.pAUC = function(x, pAUCthresh=2.5e-2) {
|
|||
## Chunk 29
|
|||
library(BiocCaseStudies)
|
|||
## Chunk 30
|
|||
par(mfrow = c(1, 2))
|
|||
## Chunk 31
|
|||
## resample(x, "nrsel.ttest")
|
|||