DESeq2 : Is this design correct in a multi-factor experiment
1
0
Entering edit mode
@nicolas-rosewick-10121
Last seen 4.8 years ago
Belgium/Brussels/ULB

Hi,

I've a multifactor design (5 factors, each having two possible value (0 or 1)). One of the factor specify the type of samples (tumor, control) and the 4 others are informations about mutations in specific genes. In summary :

         normal   geneA   geneB   geneC   geneD
sample1       0       1       0       1       0
sample2       0       0       1       1       1
sample3       1       0       0       1       0

I want to test the effect of these mutations (factor geneA, geneB, geneC and geneD) taking into account the sample type (factor normal indicating if it's a tumor (=0) or not (=1)). Here's my code :

dds <- DESeqDataSetFromMatrix(countData = counts,colData = design,design = ~ geneA+geneB+geneC+geneD+normal)
dds <- dds[ rowSums(counts(dds)) > 1, ]
dds <- DESeq(dds)
res <- results(dds,contrast=c(geneA,1,0))

Do you think that the design ( ~ geneA+geneB+geneC+geneD+normal ) is correct in this case ? or should I add an interaction term ?

thanks

deseq2 • 915 views
ADD COMMENT
0
Entering edit mode
Is that all of the samples? Can you show the full colData?
ADD REPLY
0
Entering edit mode

Here's the complete colData

    normal    geneA    geneB    geneC    geneD
Sample1    0    0    0    0    0
Sample2    0    0    1    1    0
Sample3    0    0    0    0    0
Sample4    0    0    0    0    0
Sample5    0    0    0    0    1
Sample6    0    0    1    1    1
Sample7    0    0    0    0    0
Sample8    0    1    0    1    0
Sample9    0    0    0    0    1
Sample10    0    0    1    1    0
Sample11    0    1    0    0    0
Sample12    0    0    0    1    0
Sample13    0    0    0    0    0
Sample14    0    1    0    0    0
Sample15    0    0    0    0    0
Sample16    0    0    0    0    0
Sample17    0    1    0    1    0
Sample18    0    0    1    0    0
Sample19    0    0    0    1    0
Sample20    0    0    0    0    0
Sample21    0    0    0    0    1
Sample22    0    0    0    0    0
Sample23    0    0    0    1    1
Sample24    0    0    0    0    0
Sample25    0    1    0    1    0
Sample26    0    1    1    0    0
Sample27    0    0    0    1    0
Sample28    1    0    0    0    0
Sample29    1    0    0    0    0
Sample30    1    0    0    0    0
Sample31    1    0    0    0    0
ADD REPLY
0
Entering edit mode
@mikelove
Last seen 3 days ago
United States

You can't add a meaningful interaction term here. The interaction term in theory would help you test if the mutations have a different effect in tumor vs normal. But you have no mutations in normal (correct?), so it's not possible to make that comparison. The effect of mutations in normal cannot be estimated from lack of data, so the ratio of (the effect in tumor) / (the effect in normal) is undefined as well.

You can use the design you proposed though. Although, I would also consider dropping the normal samples and looking at differences among the tumor samples alone. I'm not sure what they add here.

ADD COMMENT

Login before adding your answer.

Traffic: 754 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6