Dear friends,
I am using limma moderate t test to do statistics on my protein intensity data.
I have hundred proteins in treatment condition and several proteins in control from maxquant. dataset like this
noCL1 | noCL2 | noCl3 | CL1 | CL2 | CL3 |
0 | 0 | 0 | 0 | 7448800 | 132190 |
254560 | 137360 | 0 | 1,94E+08 | 7,94E+08 | 1,37E+08 |
0 | 0 | 0 | 0 | 6227600 | 0 |
0 | 0 | 0 | 0 | 1603100 | 0 |
0 | 0 | 0 | 0 | 1529600 | 0 |
0 | 0 | 0 | 0 | 1257600 | 0 |
0 | 0 | 0 | 3808000 | 10646000 | 1576700 |
0 | 0 | 0 | 122300 | 1512100 | 0 |
0 | 0 | 0 | 85346 | 0 | 0 |
0 | 0 | 0 | 0 | 341570 | 0 |
0 | 0 | 0 | 0 | 879120 | 0 |
0 | 0 | 0 | 1235100 | 171310 | 0 |
I want to do the significant analysis between control and treatment using moderated t test because there is really less protein in control.
Is it possible to compare treatment intensity to 0 in control?
I can run limma sucessfully using raw intensity data, but this give strange result. I want to use limma-voom, but I do not know how to transform data to log2. The thing is how about the 0 ones? should I filter them out ?
here is the codes I use
d<- read.table(file="clipboard", sep="\t",header=TRUE)
d=data.matrix(d,rownames.force = NA)
colnames(d)<- c("nocl","nocl","nocl","cl","cl","cl")
design = model.matrix(~0+c(rep("nocl",3),rep("cl",3)))
colnames(design)<- c("nocl","cl")
fit1 = lmFit(d,design)
fit1$coefficients[1:10,]
cont.matrix <- makeContrasts(a=cl-nocl, levels=make.names(colnames(design)))
print(cont.matrix)
fit2 <- contrasts.fit(fit1, cont.matrix)
fit2 <- eBayes(fit2)
here is the result if I run in raw data
logFC AveExpr t P.Value adj.P.Val B
173 -10846021 5423010.5 -2.131776 0.09170832 0.4605321 -4.59512
268 -2164967 1082483.5 -2.129542 0.09195575 0.4605321 -4.59512
224 -1470787 735393.3 -2.128846 0.09203301 0.4605321 -4.59512
163 -3465934 1732966.8 -2.101319 0.09514384 0.4605321 -4.59512
here is the result if I run log2 (0 in control (which is impossible to log2) I change to 0 in the log2 dataset)
logFC AveExpr t P.Value adj.P.Val
198 -67.33333 35.66667 -12.764984 6.801732e-05 0.02115339
132 -78.66667 41.33333 -9.739464 2.396826e-04 0.03727064
169 -86.00000 45.00000 -8.177496 5.333209e-04 0.05528760
161 -123.00000 63.50000 -7.135694 9.842751e-04 0.05928887
110 -142.66667 73.33333 -6.986866 1.081028e-03 0.05928887
I just learn limma yestday and really confused about what can I do or not.
Thanks billions if you have some comments.
Best
Meixia