Entering edit mode
steven wink
▴
90
@steven-wink-5440
Last seen 5.5 years ago
Dear list,
I could not find a fitting example in in the userguides for limma /
edger -
this is probably because of my lack of understanding of multiv.
statistics.
I have performed an experiment as follows:
cell_line treatment time
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 1 2
1 2 2
1 3 2
1 4 2
1 5 2
2 1 1
2 2 1
2 3 1
2 4 1
2 5 1
2 1 2
2 2 2
2 3 2
2 4 2
2 5 2
3 1 1
3 2 1
3 3 1
3 4 1
3 5 1
3 1 2
3 2 2
3 3 2
3 4 2
3 5 2
biological info on the experiment:
4 replicates for controls (treatment 1)
3 replicates for the other 4 treatments
the cell lines are actually very similar - stable knock down /
overexpression versions of each other - so maybe treat as random
sample
when interested in treatment effects?
The treatments include a negative control, I am also interested in
different treatment comparisons ( 3 vs 4, 2 vs 5 etc etc) though.
The effect of time is not really of interest to me, so if it makes it
easier it would be ok to split the data in 2 sets, 1 for each time
point.
biol questions:
baseline differences in cell iines.
differences in cell lines response to treatments
the treatment effects relative to control and to each other.
Above questions for both time points.
This seems to me to be a factorial design, so first thing I tried was
a 3
factorial design, with a design matrix with all possible combinations:
>cellLine <- eSetrmaF$cell_line
> treatment <- eSetrmaF$treatment
> time <- eSetrmaF$time
> allCombos <- paste( cellLine, treatment, time, sep =
"." )
> allCombos <- factor( allCombos )
> design <- model.matrix( ~0 + allCombos )
> colnames( design ) <- levels( allCombos )
> fitAll <- lmFit( eSetrmaF, design )
to test if what I was doing made any sense I checked for IGF1 cell
line for
treatment glarg at 6h compared to its vehicle control, I also included
an
interaction term to test: "what is the difference of cell lines IRA
and IRB
in their response to glargine at 6h?
> cont.matrix1 <- makeContrasts( IGF1_glarg_6 =
IGF1R.glargine.6h-IGF1R.control.6h,
> IRA_IRB_glarg_6h = ( IRA.glargine.6h
- IRA.control.6h
) - ( IRB.glargine.6h - IRB.control.6h ),
> levels = design )
> fitAll2 <- contrasts.fit(fitAll, cont.matrix1)
> fitAll3 <- eBayes(fitAll2)
The results don't seem to make sense since the intersection of probe
IDs
from the toptable results (number = 500) and the results from a
simple t
test between IGF1R.glargine.6h-IGF1R.control.6h (also 500 rows),
samples is
very low (random even)
Any help to which manual examples I should look, or a general strategy
is
greatly appreciated.
Best regards
Steven Wink
[[alternative HTML version deleted]]