What do you want to compare?
1) You can compare pairwise, like TS vs EOT and TS vs FU and EOT vs FU.
That would be
results(dds, contrast = c("timepoints", "TS", "EOT"))`
2) You can compare one group versus the average of the other two. For example, TS versus the average of EOT and FU would be something like:
results(dds, contrast = list("TS ", c("EOT ","FU ")), listValues=c(1, -1/2))
The exact syntax depends on how resultsNames(dds)
looks, see ?results
and also https://support.bioconductor.org/p/69104/ to get that right.
3) You can use the LRT (See vignette of DESeq2) to find any differences between groups, though I personally would only do that with many more than three groups. Pairwise comparisons are probably what you want here.
Thank you very much. i will try it