Could you give a bit more detail about your experimental design? You're using affy, so you're working with single channel data - so nzw, akr and bas all have six arrays?
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch on behalf of r.ghezzo at staff.mcgill.ca
Sent: Mon 12/20/2004 8:45 PM
To: r-help at stat.math.ethz.ch
Cc:
Subject: [R] problems with limma
I try to send this message To Gordon Smyth at smyth at vehi,edu.au but it bounced
back, so here it is to r-help
I am trying to use limma, just downloaded it from CRAN. I use R 2.0.1 on Win XP
see the following:
library(RODBC)
chan1 <- odbcConnectExcel("D:/Data/mgc/Chips/Chips4.xls")
dd <- sqlFetch(chan1,"Raw") # all data 12000
#
nzw <- cbind(dd$NZW1C,dd$NZW2C,dd$NZW3C,dd$NZW1T,dd$NZW2T,dd$NZW3T)
akr <- cbind(dd$AKR1C,dd$AKR2C,dd$AKR3C,dd$AKR1T,dd$AKR2T,dd$AKR3T)
bas <- cbind(dd$NZW1C,dd$NZW2C,dd$NZW3C,dd$AKR1C,dd$AKR2C,dd$AKR3C)
#
design<-matrix(c(1,1,1,1,1,1,0,0,0,1,1,1),ncol=2)
fit1 <- lmFit(nzw,design)
fit1 <- eBayes(fit1)
topTable(fit1,adjust="fdr",number=5)
M t P.Value B
12222 3679.480 121.24612 7.828493e-06 -4.508864
1903 3012.405 118.32859 7.828493e-06 -4.508866
9068 1850.232 92.70893 1.178902e-05 -4.508889
10635 2843.534 91.99336 1.178902e-05 -4.508890
561 18727.858 90.17085 1.178902e-05 -4.508893
M t P.Value B
11547 151.6622 6.380978 0.917470 -4.595085
12064 324.0851 6.337235 0.917470 -4.595085
6752 964.5478 5.858994 0.952782 -4.595086
10251 152.7587 5.339843 0.952782 -4.595087
1440 189.6056 4.933151 0.952782 -4.595089
----------------------------------------------------
------------- Shouldn't this be equal to fit3 above?
------------- The P.Value are unreal!!
----------------------------------------------------
topTable(fit42,coef="Diff",adjust="fdr",number=5)
M t P.Value B
7724 302.6892 7.540195 0.4102211 -4.593201
1403 419.4962 6.805495 0.4102211 -4.593265
10251 270.5269 6.686796 0.4102211 -4.593277
3270 409.8391 6.414966 0.4192042 -4.593307
10960 -511.4711 -5.469247 0.9652171 -4.593435
#
So the results I get from just pairwise comparisons are very significant, but
when I try the Anova way, the significance completely dissapears.
Am I doing something completely wrong?
This is data from Affimetrix mouse chips.
Thanks for any help
Heberto Ghezzo
Ph.D.
Meakins-Christie Labs
McGill University
Montreal - Canada
______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html