Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • DESeq2 multi-factor designs

    I am getting started with DESeq2. I am trying to understand how multi-factor design works. This is fairly basic question, but I can't find the proper answer.

    From the vignette:
    Code:
    We can account for the different types of sequencing, and get a clearer 
    picture of the differences attributable to the treatment. As condition is the 
    variable of interest, we put it at the end of the formula. Here we
    
    design(dds) <- formula(~ type + condition)
    dds <- DESeq(dds)
    So how exactly are the two parameters treated? What do the significant genes in the results mean? Are they the ones that are changing in condition regardless of type, or the ones that are changing in both type and condition? What happens when you have three or more parameters?

    Additionally, although results for condition are output by default, results for type can be retrieved as well. Does the order or parameters only matter for the output or is the test performed differently?

  • #2
    The normal phrasing for that would be "differences due to type when controlling for condition" for the "type" results and "differences due to condition when controlling for type" for the "condition" results. The syntax is the same as is used for other linear and generalized linear models in R, so that's why it's not described in depth. If "condition" has levels "A", "B", and "C", then (generally) "A" will be treated as the baseline level and you get statistics for the "BvsA" and "CvsA" comparisons (I think the most recent version of DESeq2 implements contrasts, so you can then test whatever you really want).

    Comment


    • #3
      Originally posted by dpryan View Post
      The normal phrasing for that would be "differences due to type when controlling for condition" for the "type" results and "differences due to condition when controlling for type" for the "condition" results. The syntax is the same as is used for other linear and generalized linear models in R, so that's why it's not described in depth. If "condition" has levels "A", "B", and "C", then (generally) "A" will be treated as the baseline level and you get statistics for the "BvsA" and "CvsA" comparisons (I think the most recent version of DESeq2 implements contrasts, so you can then test whatever you really want).
      That was very helpful.

      I think you misunderstood the part of my question regarding multiple parameters, though. What happens when the design goes from formula(~ x + y) to formula(~ x + y + z)?

      Comment


      • #4
        Ah, with more parameters things are the same. You're always testing one thing while accounting for the others.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Essential Discoveries and Tools in Epitranscriptomics
          by seqadmin




          The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
          Yesterday, 07:01 AM
        • seqadmin
          Current Approaches to Protein Sequencing
          by seqadmin


          Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
          04-04-2024, 04:25 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 04-11-2024, 12:08 PM
        0 responses
        55 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        52 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 09:21 AM
        0 responses
        45 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-04-2024, 09:00 AM
        0 responses
        55 views
        0 likes
        Last Post seqadmin  
        Working...
        X