Hello all,
I am new to RNA-Seq analysis and working on an experiment with three treatments compared to a control at three time points. The comparisons are structured as follows:
Reference Treatment A Treatment A+B
Vehicle day 1 vs Treatment A at day 1 vs Treatment A+B at day 1
vehicle day 3 vs Treatment A at day 3 vs Treatment A+B at day 3
Vehicle day 7 vs Treatment A at day 7 vs Treatment A+B at day 7
I created a sampleTable and design to mimic the experimental setup as follows:
sampleTable <- data.frame(
Condition = factor(rep(c("Veh", "A", "AB"),each=9)),
Time = factor(rep(c("1 day", "3 days", "7 days"), each = 3,time=3))
)
rownames(sampleTable) <- colnames(txi$counts)
design <- ~Condition + Time + Condition:Time
dds.temp <- DESeqDataSetFromTximport(txi,colData = sampleTable,design = design)
dds.temp2 <- dds.temp
dds.temp2$Condition <- relevel(dds.temp2$Condition,ref="Veh")
dds.temp2 <- DESeq(dds.temp2,test = "LRT",reduced = ~ Condition + Time)
data.frame(resultsNames(dds.temp2))
However, the resulting resultsNames are as follows:
resultsNames.dds.temp2.
Intercept
Condition_AB_vs_Veh
Condition_A_vs_Veh
Time_3.days_vs_1.day
Time_7.days_vs_1.day
ConditionAB.Time3.days
ConditionA.Time3.days
ConditionAB.Time7.days
ConditionA.Time7.days
I believe I am missing something, as I would like to show expression changes for each treatment compared to the control (Vehicle) at each time point. Any guidance on how to properly structure the design or extract these comparisons would be greatly appreciated!