Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DESeq2 glm caveats

    Hi,

    I am currently using DESeq2 for my RNAseq data with a multi factorial design. I have 4 samples L1-L4 (7 biol. replicates) with each sample combining 2 factors.
    HTML Code:
    	B_high	B_low
    A_high	L1	L2
    A_low	L3	L4
    My DESeq glm look like this:
    dds <- DESeqDataSetFromMatrix(countData = countTable, colData = Design, design = ~ A + B)

    Now, the problem is that among my DE genes for let's say condition A, there are genes with very high expression in L1 and low expression in L2,L3,L4. Now, if expression in L1 is high enough, this gene will be called as highly expressed in the A_high treatment group, even though sample L2 only shows weak expression.


    Here's an example from my data set. Expression of Gene A is L1>>L3>L2>L4. Yet, in the multi factor design, it gets called as significantly over expressed in cond A_high, i.e. L1 and L2. FC=log2FoldChange
    HTML Code:
    ID	A_FC	A_padj	B_FC	B_padj	L1_FC	L1_padj		L2_FC	L2_padj	L3_FC	L3_padj	L4_FC	L4_padj
    GeneA	0.497	0.048	0.149	0.758	0.84	4.09E-05	-0.26	0.59	-0.73	0.01	-0.05	0.92

    Now I am looking for a way to correct for this. I could filter the list of DE genes of A_high by selecting only those genes where log2FoldChange is bigger in L1 and L2 compared to L3 and L4, but this seems not very well thought through.

    Maybe one of you guys might have an idea how to deal with this.

  • #2
    The long answer: Read up on the topic of "interactions" in linear models, and then rethink what biological question you are trying to answer.

    The too short answer: Your two treatments do not act independently. In the case of your gene that is high only in L1, they have potentiated each other: A alone and B alone have little effect, but when working together, they have a strong effect. If such so-called interactions are present in your data, it does not make sense any more to only ask separately for each treatment's effect.

    The way too short answer: Replace "+" with "*" in your design formula, then read up on what this means.
    Last edited by Simon Anders; 12-05-2013, 01:28 AM.

    Comment


    • #3
      Hi Simon,

      Our experiment consists of male and female organisms (i.e. treatment B) with treatment A leading to similar phenotypes in both sexes. Our hypothesis was that production of said phenotype is controlled by the same genes in males and females. This hypothesis led to a glm without interactions between the 2 variables.

      If I introduce interactions, I would expect even more calls for genes with a pattern like in GeneA, even though these are not the genes I am interested in.

      My understanding of glm's is indeed superficial. So do you say, that given that I have genes like "GeneA" in my data set, I must work with interacting terms?

      I would rather stick to the glm I have with simple terms (A+B), if possible and get rid of DE calls where the treatment does not affect each group similarly.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Strategies for Sequencing Challenging Samples
        by seqadmin


        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
        03-22-2024, 06:39 AM
      • seqadmin
        Techniques and Challenges in Conservation Genomics
        by seqadmin



        The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

        Avian Conservation
        Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
        03-08-2024, 10:41 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 06:37 PM
      0 responses
      10 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, Yesterday, 06:07 PM
      0 responses
      9 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-22-2024, 10:03 AM
      0 responses
      49 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-21-2024, 07:32 AM
      0 responses
      67 views
      0 likes
      Last Post seqadmin  
      Working...
      X