Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Chandu
    Junior Member
    • Mar 2012
    • 2

    DESeq2 design matrix help

    Hello All,
    I am a bit confused and lost in DESeq2 design matrix in my experiment.

    Here is the description of my experiment.

    Total samples = 12
    Number of mice = 6 ( two RNA-seq from each mouse, one from head and another from body)
    Number of genotypes = 2 ( Wt_a and a_b)

    I wanted to make two following comparisons. Each group has three replicates. We know that the same genotype on head and body have different effect.
    1) Wt_a_body Vs Wt_a_head
    2) a_b_body Vs a_b_head

    These comparisons gave too many differentially expressed genes, I think this is because of different organs (body and head).

    What is the appropriate design matrix, for removing the body vs head differences, while comparing the genotype difference between the organs?

    I listed below, all the sample and sample groups with replicates.

    SampleName SampleGroup SampleSource Replicate
    E1_body Wt_a_body body 1
    E2_body a_b_body body 1
    E3_body Wt_a_body body 2
    E4_body a_b_body body 2
    E5_body Wt_a_body body 3
    E6_body a_b_body body 3
    E1_head Wt_a_head head 1
    E2_head a_b_head head 1
    E3_head Wt_a_head head 2
    E4_head a_b_head head 2
    E5_head Wt_a_head head 3
    E6_head a_b_head head 3

    Many thanks in advance.
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Code:
    ~replicate+SampleSource+SampleGroup
    Be sure that "replicate" is a factor. This assumes that there's no interaction between the source and group, though you could include that as well.

    Comment

    • Chandu
      Junior Member
      • Mar 2012
      • 2

      #3
      Thank you Ryan.

      Comment

      Latest Articles

      Collapse

      • 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
      • SEQadmin2
        From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
        by SEQadmin2


        Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


        The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
        ...
        06-02-2026, 10:05 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Today, 11:10 AM
      0 responses
      6 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-17-2026, 06:09 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-09-2026, 11:58 AM
      0 responses
      102 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-05-2026, 10:09 AM
      0 responses
      124 views
      0 reactions
      Last Post SEQadmin2  
      Working...