Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • cjag
    Junior Member
    • Mar 2020
    • 1

    DESeq2 interaction term results differ between full dataset & subset

    Hi all, hoping someone has some insight on this because I am completely stumped...

    I'm using DESeq2 for differential analysis between 2 different experiment/sequencing types (wholly different methods, not like SE vs PE) and with multiple treatment conditions vs. one control condition. I do have a batch effect so I have to include that term in my design as well.
    ID Batch Condition SeqType
    1 1 ctrl X
    2 1 A X
    3 1 B X
    4 1 C X
    5 2 ctrl X
    6 2 A X
    7 2 B X
    8 2 C X
    9 1 ctrl Y
    10 1 A Y
    11 1 B Y
    12 1 C Y
    13 2 ctrl Y
    14 2 A Y
    15 2 B Y
    16 2 C Y


    So the design ends up being " ~ Batch + SeqType + Condition + Condition:SeqType "


    With reference levels for Condition=ctrl & SeqType=X, this gives me resultsNames of:
    • Intercept
    • Batch_2_vs_1
    • SeqType_Y_vs_X
    • Condition_A_vs_ctrl
    • Condition_B_vs_ctrl
    • Condition_C_vs_ctrl
    • SeqTypeY.ConditionA
    • SeqTypeY.ConditionB
    • SeqTypeY.ConditionC



    It's my understanding that using results(dds, name="SeqTypeY.ConditionA") should give me the genes for which changes (ie. A vs. ctrl) in sequencing type Y are independent of changes in sequencing type X.


    This analysis works and I get reasonable results for all of my conditions when I do not subset the data (i.e. conditions A, B, C, and ctrl are all in the same counts file input to the DESeqDataSet object, then results are called separately for each). However, when I subset by condition (i.e. input condition A & ctrl only), all the genes have padj>0.95 in the interaction term results.


    Does anyone know why this is happening or if it matters? I'm concerned it means I'm doing something wrong in the multiple conditions analysis?


    A related question - does the padj value correct for multiple comparisons between all genes within a specified results table (i.e. for all genes in the "SeqTypeY.ConditionA" results) or does it correct for multiple comparisons between all genes across all possible results tables (i.e. SeqTypeY.ConditionA vs. SeqTypeY.ConditionB vs. SeqTypeY.ConditionC)? I did the subset analysis because I was trying to answer this question for myself and I'm afraid I've just made my confusion worse....

Latest Articles

Collapse

  • GATTACAT
    Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
    by GATTACAT
    Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
    07-01-2026, 11:43 AM
  • SEQadmin2
    Nine Things a Sample Prep Scientist Thinks About Before Sequencing
    by SEQadmin2


    I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

    Here are nine questions we think about, in roughly the order they matter, before...
    06-18-2026, 07:11 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 07-02-2026, 11:08 AM
0 responses
16 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 06-30-2026, 05:37 AM
0 responses
17 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 06-26-2026, 11:10 AM
0 responses
21 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 06-17-2026, 06:09 AM
0 responses
54 views
0 reactions
Last Post SEQadmin2  
Working...