exDir <- system.file("exData",package="Ringo")
load(file.path(exDir,"exampleProbeAnno.rda"))
load(file.path(exDir,"exampleX.rda"))
tX <- computeSlidingT(exampleX, probeAnno=exProbeAnno,
allChr=c("9"), winHalfSize=400)
sampleNames(tX) <- "t-Stat_Suz12vsTotal"
if (interactive()){
grid.newpage()
plot(cbind2(exampleX, tX), exProbeAnno, chrom="9",
xlim=c(34318000,34321000), ylim=c(-2,8.5), gff=exGFF,
paletteName="Paired")
}
Run the code above in your browser using DataLab