Hi
I have a very simple experiment. We have 4 time points including baseline and just are asking the question which genes are differentially expressed over this time course - in response to a vaccination at baseline. I have done a paired t test using different contrasts, but how do I fit a regression and find differentially expressed genes this way?
I have found the section in the limma manual, but here the question is different and they are comparing between two different groups? I suppose it is possible to modify this code to fit my problem, but I do not know exactly how....
library(splines)
X <- ns(targets$Time, df=5)
Group <- factor(targets$Group)
design <- model.matrix(~Group*X)
fit <- lmFit(y, design)
fit <- eBayes(fit)
Thanks,
Chris