Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tellsparck
    Member
    • May 2012
    • 19

    #1

    DESeq2 normalization

    Hi,
    I have data from single cell RNASeq experiments that I am doing differential expression analysis on using DeSeq2. This dataset is not typical-the variability between replicates is much higher, for example and there are libraries with skewed distribution where relatively fewer number of genes may contribute to a large proportion of reads. Things begin to get complicated when I do data normalization, I get size factors from 14- 0.03 although the total number of raw counts does not vary by more than 2.2 fold between individual libraries. Is there a way to fix the normalization? I guess at some point I have to exclude the outlier libraries, but first I wish to try and improve the normalization before throwing out potentially useful data... My gut feeling is that things will be better if I can fix the normalization because DeSeq has worked for other single cell experiments where the size factors were more along the expected lines....Have tried to use the FPKM normalization and method in cuffdiff but it is much worser probably because the libraries are very 3' biased...Thanks for your thoughts and inputs on this.
  • blancha
    Senior Member
    • May 2013
    • 367

    #2
    You can specify your own size factors with the function sizeFactors.
    For example, you could just calculate the size factors by dividing the total number of reads for each sample by the number of reads for the sample with the lowest total number of reads.

    I was under the impression, though, that the method used by DESeq2 was more robust in precisely this case, where the distribution is skewed in favour of a small number of genes.
    estimateSizeFactors uses the median ratio method. When I read the [i]Anders et al.[i]'s article though, the formula used is not so clear to me, but that is probably due to my limited knowledge of mathematics.

    Are you sure you just didn't just make a mistake while generating the count files?
    A range from 14 to 0.03 just sounds ridiculous.

    Comment

    • Michael Love
      Senior Member
      • Jul 2013
      • 333

      #3
      I'd recommend looking at sample-sample scatterplots, and you can examine the size factors ratios for each pair. Here's an example of some pseudocode for how the size factors are calculated in a robust way in DESeq/DESeq2, specifically more robust than the total number of reads:

      Code:
      library(DESeq2)
      x = c(1:50,101:110)
      y = c(2 * 1:60)
      m = cbind(x,y)
      plot(m)
      sf = estimateSizeFactorsForMatrix(m)
      abline(0, sf[2]/sf[1], col="red")
      cs = colSums(m)
      abline(0, cs[2]/cs[1], col="blue")

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        Normally single-cell experiments have spike-ins that are intended for normalization. Does your dataset have them?

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
          by SEQadmin2



          Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

          Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
          ...
          10-14-2026, 09:55 AM
        • SEQadmin2
          New Genomics Technologies Take Aim at Long-Standing Limits
          by SEQadmin2


          Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

          We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
          ...
          09-28-2026, 10:25 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        29 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        21 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        38 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        45 views
        0 reactions
        Last Post SEQadmin2  
        Working...