I 'm lost in the settings of the model.matrix for DESEQ2 or EDGER.
I have two biological replicates with a short timeline.
Treated Day1 * 2 // Treated Day 6 *2 // Treated Day 10 * 2
Untreated Day1 * 2 // Untreated Day 6 * 2 // Untreated Day 10 * 2
I want to compare each TimePoint - Treated vs all Untreated,but also all TimePoint between each others, for example Day1 vs Day10.
I'm not sure how to set the model matrix in DESEQ2 or EDGER.
I was wondering If I sould take account that the two biologicial replicates are linked in time. (BiolRep1 ->D0, D1,D6,D10 ,+ unT , BiolRep2 -> D0,D1,D6,D10 + UnT) Or should I just compare the timepoints.
DESEQ2 : design <- model.matrix(~ TIMEPOINT )
DESEQ2 : design <- model.matrix(~ BIOLREP + TIMEPOINT ) # Time Point Adusted on biological replicates.
EDGER is more tricky on the formula ( my opinion )
EDGER : design <- model.matrix(~0 + TIMEPOINT ) # Intercept is a mystery for me , so I remove it with 0 in edgeR and i don't now if I could use it with DESEQ2.
EDGER : Don't see how to design as DESEQ2 with BIOLREP because then contrast will be hard to make. Input would be apreciate to design this formula and the contrasts to make then.
Thanks
It's hard to see how edgeR can more tricky with the formula, since both packages use (or can use) the same model formulas.