## Chunk 1
|
|||
## library("affy")
|
|||
## Chunk 2
|
|||
## myAB = ReadAffy(filenames=c("a1.cel", "a2.cel", "a3.cel"))
|
|||
## Chunk 3
|
|||
library("CLL")
|
|||
## Chunk 4
|
|||
sampleNames(CLLbatch)
|
|||
## Chunk 5
|
|||
data("disease")
|
|||
## Chunk 6
|
|||
rownames(disease) = disease$SampleID
|
|||
## Chunk 7
|
|||
sampleNames(CLLbatch) = sub("\\.CEL$", "",
|
|||
## Chunk 8
|
|||
mt = match(rownames(disease), sampleNames(CLLbatch))
|
|||
## Chunk 9
|
|||
vmd = data.frame(labelDescription = c("Sample ID",
|
|||
## Chunk 10
|
|||
phenoData(CLLbatch) = new("AnnotatedDataFrame",
|
|||
## Chunk 11
|
|||
CLLbatch = CLLbatch[, !is.na(CLLbatch$Disease)]
|
|||
## Chunk 12
|
|||
library("affyQCReport")
|
|||
## Chunk 13
|
|||
plot(saqc)
|
|||
## Chunk 14
|
|||
dd = dist2(log2(exprs(CLLbatch)))
|
|||
## Chunk 15
|
|||
diag(dd) = 0
|
|||
## Chunk 16
|
|||
library("affyPLM")
|
|||
## Chunk 17
|
|||
boxplot(dataPLM, main="NUSE", ylim = c(0.95, 1.22),
|
|||
## Chunk 18
|
|||
Mbox(dataPLM, main="RLE", ylim = c(-0.4, 0.4),
|
|||
## Chunk 19
|
|||
badArray = match("CLL1", sampleNames(CLLbatch))
|
|||
|
|||
## Chunk 21
|
|||
CLLrma = rma(CLLB)
|
|||
## Chunk 22
|
|||
e = exprs(CLLrma)
|
|||
|
|||
## Chunk 24
|
|||
pData(CLLrma)[1:3,]
|
|||
## Chunk 25
|
|||
table(CLLrma$Disease)
|
|||
## Chunk 26
|
|||
CLLf = nsFilter(CLLrma, remove.dupEntrez=FALSE,
|
|||
## Chunk 27
|
|||
CLLtt = rowttests(CLLf, "Disease")
|
|||
## Chunk 28
|
|||
a = rowMeans(exprs(CLLf))
|
|||
|
|||
## Chunk 30
|
|||
library("limma")
|
|||
|
|||
## Chunk 32
|
|||
lod = -log10(CLLtt$p.value)
|
|||
|
|||
|
|||
|
|||
## Chunk 36
|
|||
tab = topTable(CLLeb, coef=2, adjust.method="BH", n=10)
|
|||
## Chunk 37
|
|||
library("annotate")
|
|||
## Chunk 38
|
|||
annotation(CLLf)
|
|||
## Chunk 39
|
|||
ll = getEG(genenames, "hgu95av2")
|
|||
## Chunk 40
|
|||
tab = data.frame(sym, signif(tab[,-1], 3))
|
|||
## Chunk 41
|
|||
browseURL("GeneList1.html")
|
|||
## Chunk 42
|
|||
library("KEGG.db")
|
|||
## Chunk 43
|
|||
atab = aafTableAnn(genenames, "hgu95av2.db",
|
|||
## Chunk 44
|
|||
pms = pm(CLLB)
|
|||
|
|||
|
|||
|
|||
## Chunk 48
|
|||
bgrma = bg.correct.rma(CLLB)
|
|||
## Chunk 49
|
|||
library("vsn")
|
|||
|
|||
|
|||
|
|||
## Chunk 53
|
|||
CLLvsn = vsnrma(CLLB)
|
|||
## Chunk 54
|
|||
CLLvsnf = nsFilter(CLLvsn, remove.dupEntrez=FALSE,
|
|||
|
|||
|
|||
## Chunk 57
|
|||
pns = probeNames(CLLB)
|
|||
## Chunk 58
|
|||
length(indices)
|
|||
|
|||
## Chunk 60
|
|||
newsummary = t(sapply(indices, function(j)
|
|||
|