Hi all,
I have done a time series analysis using the steps outlined below and I got differentially expressed genes showing a condition-specific effect (according to the example at http://www.bioconductor.org/help/workflows/rnaseqGene/#time)
> sampleTable<-data.frame(sampleName=sampleFiles, fileName=sampleFiles, condition=sampleCondition, time=time)
> sampleTable$condition <- relevel(sampleTable$condition, "Valor")
> sampleTable$time <- factor(sampleTable$time, levels=c("0","6","12","24","72"))
> ddsHTSeq<-DESeqDataSetFromHTSeqCount(sampleTable=sampleTable, directory=directory, design=~condition + time + condition:time)
> ddsTS2 <- DESeq(ddsHTSeq, test="LRT", reduced = ~ condition:time)
> resultsNames(ddsTS1)
[1] "Intercept" "condition_BP1_vs_Valor" "time_6_vs_0"
[4] "time_12_vs_0" "time_24_vs_0" "time_72_vs_0"
[7] "conditionBP1.time6" "conditionBP1.time12" "conditionBP1.time24"
[10] "conditionBP1.time72"
> summary(resTS1)
out of 1840 with nonzero total read count
adjusted p-value < 0.1
LFC > 0 (up) : 138, 7.5%
LFC < 0 (down) : 113, 6.1%
outliers [1] : 4, 0.22%
low counts [2] : 0, 0%
(mean count < 0.2)
But now I am interested in picking the differential genes between the 2 conditions at each time-point, how do I get these? which contrast should I use specifically and which elements from my resultsNames(ddsTS1) output. I checked ?results but still not sure whether to use the condition effect or the interaction effect?
Many thanks,
Stan
rna-seq
r
deseq2