I have a treatment and control in two time points like this
> design
X condition time
1 CTRL_24_hrs_replicate1 control 24
2 CTRL_24_hrs_replicate2 control 24
3 CTRL_24_hrs_replicate3 control 24
4 treatment_24_hrs_replicate1 t 24
5 treatment_24_hrs_replicate2 t 24
6 treatment_24_hrs_replicate3 t 24
7 CTRL_48_hrs_replicate1 control 48
8 CTRL_48_hrs_replicate2 control 48
9 CTRL_48_hrs_replicate3 control 48
10 treatment_48_hrs_replicate1 t 48
11 treatment_48_hrs_replicate2 t 48
12 treatment_48_hrs_replicate3 t 48
>
I want to test between between treatment and control considering time point 2 hours to 4 hours
I have done like this
dds <- DESeqDataSetFromMatrix(countData=a,colData=design, design=~time + condition + time:condition)
ddsTC <- DESeq(dds, test="LRT", reduced = ~ time + time:condition)
> resultsNames(ddsTC)
[1] "Intercept" "condition_t_vs_control"
[3] "time" "conditiont.time"
What is the difference of the results of these codes
results(ddsTC, name="condition_t_vs_control", test="Wald")
versus
results(ddsTC, name="conditiont.time", test="Wald")
Actually I want to know what condition_t_vs_control
gives and what conditiont.time
gives
Thank you so much for any intuition