Dear all,
we're having a time course data set of 8 TP (0, 16,24,30,48,72,90, and 100 hours).
We would like to test for genes which are changing over time compared to the 0h (~ctrl).
I have read the guide and a lot of posts here and on biostar.org. After understanding the way to create a design matrix for my data, I am still confused about the interactions in the design matrix.
I have created the design matrix like that:
Question 1:
If I understand correctly, the results I get represents all genes with sig. diff. behaviour across all TP.
But I get a lot of them. attached is [the plotMA of the counts].
Do all these genes change over time across all Time-points?
Question 2:
Does this list include all genes which are changing between only two time points?
(that might be the reason, why the list is so long.)
Question 3:
what will change in term of my question (and of course the list of genes I will get), if I change my full and reduced model to this:
Thanks in advance
Assa
we're having a time course data set of 8 TP (0, 16,24,30,48,72,90, and 100 hours).
We would like to test for genes which are changing over time compared to the 0h (~ctrl).
I have read the guide and a lot of posts here and on biostar.org. After understanding the way to create a design matrix for my data, I am still confused about the interactions in the design matrix.
I have created the design matrix like that:
Code:
dds<-DESeqDataSetFromMatrix(countData=countTable, colData=phenotype, design= ~ replica + time ) dds = DESeq(dds, test="LRT", reduced=~replica)
If I understand correctly, the results I get represents all genes with sig. diff. behaviour across all TP.
But I get a lot of them. attached is [the plotMA of the counts].
Code:
> res log2 fold change (MLE): hours 100 vs 0 LRT p-value: '~ replica + hours' vs '~ replica' DataFrame with 17558 rows and 6 columns baseMean log2FoldChange lfcSE stat pvalue padj <numeric> <numeric> <numeric> <numeric> <numeric> <numeric> FBgn0085804 0.18052802 -1.18153049 7.162547 1.518897 0.9816482138 NA ...
Question 2:
Does this list include all genes which are changing between only two time points?
(that might be the reason, why the list is so long.)
Question 3:
what will change in term of my question (and of course the list of genes I will get), if I change my full and reduced model to this:
Code:
dds<-DESeqDataSetFromMatrix(countData=countTable, colData=phenotype, design= ~ replica + time +replica:time ) dds = DESeq(dds, test="LRT", reduced=~replica +replica:time)
Thanks in advance
Assa
Comment