Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Kolamite
    Junior Member
    • Nov 2012
    • 7

    Combining RNA-seq datasets

    I searched a lot of threads here and elsewhere without finding anything exactly like this.

    I have two RNA-seq datasets from different dates and different platforms. Split between them are 4 groups (normal and 3 stages of cancer). This is the distribution:

    Set 1
    1x normal
    2x stage 1
    3x stage 2
    7x stage 3

    Set 2
    2x normal
    2x stage 1
    2x stage 2
    2x stage 3

    We want to combine the datasets and make comparisons between the groups for differential expression. So far, I've tried:

    -Combine all FPKM values into 1 table
    -Run ComBat on the table, specifying dataset as batch and stage as a covariate
    -Skipped voom() since they are not raw counts and log2 converted the ComBat output for limma.
    -Run lmFit, contrasts.fit, and eBayes from limma on the converted output.

    My questions/confusion is over:

    1. Should I be using FPKM values or the raw counts for this, given the two datasets and need for batch removal?

    2. What is the best way to run limma on the ComBat output without conversion through voom()?

    3. Are there any other glaring problems with this approach?

    Thanks!
  • habbas
    Junior Member
    • Nov 2014
    • 8

    #2
    Hi -
    Were you able to find a solution to this problem?

    Comment

    • Gordon Smyth
      Member
      • Apr 2011
      • 91

      #3
      This is actually a very common type of RNA-seq analysis where we combine two datasets. You can run voom and limma on the raw counts, as you would for any analysis. When you form the design matrix, include a term for the batch effect like this:

      design <- model.matrix(~Stage+Set)

      Here Set is the batch factor taking values "Set1" and "Set2" and Stage is the experimental factor taking values "Normal", "Stage1", "Stage2" and "Stage3".

      This is very standard type of analysis. There is no need for any external batch correction such as Combat.

      Comment

      • habbas
        Junior Member
        • Nov 2014
        • 8

        #4
        Hi Gordon- Thanks for your reply.
        I am a beginner in this. I know how to use DESeq2 to analyze RNASeq data from tables generated by summarizeOverlaps function. I was wondering how would your suggestion be implemented in this.
        Hussein

        Comment

        • NGSfan
          Senior Member
          • Apr 2009
          • 181

          #5
          Originally posted by Gordon Smyth View Post
          This is actually a very common type of RNA-seq analysis where we combine two datasets. You can run voom and limma on the raw counts, as you would for any analysis. When you form the design matrix, include a term for the batch effect like this:

          design <- model.matrix(~Stage+Set)

          Here Set is the batch factor taking values "Set1" and "Set2" and Stage is the experimental factor taking values "Normal", "Stage1", "Stage2" and "Stage3".

          This is very standard type of analysis. There is no need for any external batch correction such as Combat.
          I have been using limma for a while now, but I am also a bit unsure about the syntax of the model.matrix command when it comes to batch effects, random effects, paired design, etc.

          If I understood correctly, then I don't need to use any special command like removeBatchEffect() ? I see this command come up on some Bioconductor threads when I google. But I no longer see it in the limma manual. Is this now deprecated?

          Thank you for talking the time to answer my question.

          Comment

          • Gordon Smyth
            Member
            • Apr 2011
            • 91

            #6
            Originally posted by NGSfan View Post
            If I understood correctly, then I don't need to use any special command like removeBatchEffect() ? I see this command come up on some Bioconductor threads when I google. But I no longer see it in the limma manual. Is this now deprecated?
            Type ?removeBatchEffect to read the documentation page. The documentation page explains that it is used to make unsupervised plots rather than for differential expression analyses.

            This is the way that removeBatchEffect has always been treated. It has not been removed from any documentation.
            Last edited by Gordon Smyth; 01-29-2015, 10:06 PM. Reason: minor grammar improvement

            Comment

            Latest Articles

            Collapse

            • seqadmin
              New Genomics Tools and Methods Shared at AGBT 2025
              by seqadmin


              This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

              The Headliner
              The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
              03-03-2025, 01:39 PM
            • seqadmin
              Investigating the Gut Microbiome Through Diet and Spatial Biology
              by seqadmin




              The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
              02-24-2025, 06:31 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 03-20-2025, 05:03 AM
            0 responses
            18 views
            0 reactions
            Last Post seqadmin  
            Started by seqadmin, 03-19-2025, 07:27 AM
            0 responses
            25 views
            0 reactions
            Last Post seqadmin  
            Started by seqadmin, 03-18-2025, 12:50 PM
            0 responses
            19 views
            0 reactions
            Last Post seqadmin  
            Started by seqadmin, 03-03-2025, 01:15 PM
            0 responses
            187 views
            0 reactions
            Last Post seqadmin  
            Working...