Dear DESeq2 users,
I have a couple of questions regarding study design. They are probably really basic but such analysis is new for me.
Let's suppose I have got some RNASeq data from three independent biological experiments without technical replicates of the same cell line that was cultured at sparse (S) and dense (D) condition. These differentially cultured cells were treated with different siRNA (two types of siRNA per gene) and some inducers. Moreover, I expect some batch effect on my results. I understand that it may sound a bit complicated, thus, I am posting a simplified study design:
Initially I wrote down the following code:
dds <- DESeqDataSetFromMatrix(countData = cts, colData = coldata, design = ~ batch + condition)
but I am now wondering whether and how I could enhance the possibility of detecting differentially expressed genes between treatments and the same treatment from two confluence states by modifying the colData file?
Do you think something like this might work:
dds <- DESeqDataSetFromMatrix(countData = cts, colData = coldata, design = ~ batch + confluence + condition)
using the following coldata file:
I am also wondering on constructing a model matrix but I am not sure how it should look like.
Effectively, I would like to run the results function to get the desired comparisons, such as:
results(dds, contrast = list("D.NT", "S.NT")
so batch effect would be already included.
Many thanks for your help and feedback!
All the best,