Thanks a lot James, I understand. I'm not after the LFC or p-values, but rather those coefficients that you just mentioned with respect to each element of combo. I.e. I'd like to find the coefficients for time t1, time t2, etc for each gene as estimated by lmFit. This is what is confusing me here: if I didnt have the interaction, I could get those coefficients easily by specifying
design = model.matrix(~0 + time + treatment, some_df)
fit=lmFit(input, design)
my_coefficients=fit$coefficients
In this case, my_coefficients would give me each gene's fitting coefficient for each time point and treatment individually (all good). But in my real case I have the interaction of time and treatment, so I cannot get coefficients for t1 alone even if I now from the model matrix that a column t1 = control.t1 + treated.t1. My main question is that I don't know how to retrieve these coefficients based on combinations of individual interactions, Is the coefficient for a gene at t1 given by the mean of coefficients at control.t1 + treated.t1?
I've posted a related question, though it is a different question here.