Unconfigured Ad

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

    #1

    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
              Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
              by SEQadmin2



              CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

              Despite this, “CRISPR helped turn genome editing from a specialized technique into
              ...
              07-31-2026, 11:01 AM
            • 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Today, 07:41 AM
            0 responses
            9 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 08-03-2026, 10:13 AM
            0 responses
            25 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-31-2026, 02:55 AM
            0 responses
            38 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-24-2026, 12:17 PM
            0 responses
            25 views
            0 reactions
            Last Post SEQadmin2  
            Working...