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

        • kinpict.com
          Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by kinpict.com
          The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
          Today, 06:37 PM
        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2





          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
          10-30-2026, 06:46 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 11-12-2026, 07:59 AM
        0 responses
        27 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-05-2026, 09:25 AM
        0 responses
        35 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-03-2026, 11:54 AM
        2 responses
        56 views
        0 reactions
        Last Post kinpict.com  
        Started by SEQadmin2, 10-28-2026, 09:57 AM
        0 responses
        175 views
        0 reactions
        Last Post SEQadmin2  
        Working...