Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ea11
    Member
    • Jun 2015
    • 36

    Batch effect help

    I am attempting to analyse RNA-seq data using either edgeR or DESeq2 to determine differentially expressed genes. The experimental conditions are as follows:

    Mice were either fed a high fat diet or a low fat diet.
    Each cage had 3 mice in it, but each group has a total of 6 mice. (i.e., for the low fat diet, there are 6 mice, which have come from 2 different cages).

    Therefore, I am attempting to correct for any batch effects due to the different cages the mice were raised in, this is where I am having a problem.

    Essentially, I have the following: ( I have attached an image of the table too)

    sample treatment cage
    1 low 1
    2 low 1
    3 low 1
    4 low 2
    5 low 2
    6 low 2
    7 high 3
    8 high 3
    9 high 3
    10 high 4
    11 high 4
    12 high 4

    I have attempted to include this fact into a design matrix but I keep getting the same error of incomplete rank. I know the experimental design is not ideal, but it is what we have to work with.

    If anyone has any ways of correcting for the different cages, that would be great.

    Thanks for any help,
    E
    Attached Files
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Unless the cage mates are litter mates it would be unlikely for there to be a cage effect.

    That aside, try this:

    treatment cage
    low 1
    low 1
    low 1
    low 2
    low 2
    low 2
    high 1
    high 1
    high 1
    high 2
    high 2
    high 2

    The design is then ~treatment*cage.
    Last edited by dpryan; 10-27-2015, 06:21 AM. Reason: Had an extra 3 sample!

    Comment

    • ea11
      Member
      • Jun 2015
      • 36

      #3
      thanks for the reply.
      I didn't think there would be a cage effect, but the count results cluster on a PCA plot depending on cages more so than treatment, so thinking that there is potentially a cage effect.

      Would what you suggest not say that samples 1-3 and 7-9 are from the same cage and the other 6 from the same cage?

      I am sorry, not very good with the stats, much better with the other aspects of bioinformatics.

      Thanks

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        Yes, it says they're from the same cage, but the interaction term then allows them to have different actual effects. This is just a trick to avoid the rank deficiency issue and you'll see it used whenever batches occur completely within experimental groups.

        Comment

        • dpryan
          Devon Ryan
          • Jul 2011
          • 3478

          #5
          I should probably expand upon my last reply. What that grouping and the design effectively do is fit an effect for each Treatment_Cage pairing, of which there are 4. Since the Cage is just a nuisance variable for you I then formulated things in a way that you could just get the "cage-corrected treatment effect" without having to also deal with contrasts.

          Comment

          • ea11
            Member
            • Jun 2015
            • 36

            #6
            That sounds like exactly what I need in that case. Thanks very much for your help, I shall include that into the analysis when I next get back to the office.

            Thanks

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
              by SEQadmin2


              Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

              The systematic characterization of the human proteome has
              ...
              07-20-2026, 11:48 AM
            • SEQadmin2
              Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
              by SEQadmin2



              Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
              ...
              07-09-2026, 11:10 AM
            • SEQadmin2
              Cancer Drug Resistance: The Lingering Barrier to Rising Survival
              by SEQadmin2



              Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

              There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
              07-08-2026, 05:17 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 07-24-2026, 12:17 PM
            0 responses
            29 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-23-2026, 11:41 AM
            0 responses
            21 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-20-2026, 11:10 AM
            0 responses
            211 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-13-2026, 10:26 AM
            0 responses
            78 views
            0 reactions
            Last Post SEQadmin2  
            Working...