Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • alisonewr
    Junior Member
    • Nov 2012
    • 1

    RNA-seq normalization: How to use TMM and rpkm() in EdgeR??

    Hi,

    I have some RNA-seq samples that I want to normalize and then output RPKM expression, but I am unsure how to do this.

    This is my pipeline so far:

    1. Normalise raw read counts with TMM in edgeR

    expr <- DGEList(counts=data, group=conditions)
    expr <- calcNormFactors(expr)

    output:

    $samples
    group lib.size norm.factors
    Sample1 F 19770521 1.0462660
    Sample2 F 17970679 0.8794805
    Sample3 F 19184265 1.0573665

    QUESTION: How do I get normalized raw read counts from this? Do I multiply the read counts by the norm.factors?

    QUESTION: Ultimately, I want to end up with RPKM values for each gene in each sample. I know I can use the rpkm() function below in edgeR

    expr_norm <- rpkm(expr, log=FALSE,gene.length=vector)

    but is expr the output from calcNormFactors or something else?

    Thanks for your help!

    A
  • Gordon Smyth
    Member
    • Apr 2011
    • 91

    #2
    Yes, you simply use

    rpkm(expr, log=FALSE,gene.length=vector)

    where expr is the output from calcNormFactors(). edgeR is an object orientated package where the DGEList data object assemblies all the required information.

    There is no need for you to compute normalized raw counts (in fact I would argue there isn't any such thing). edgeR uses the normalization factors automatically.

    Comment

    • Gonza
      Member
      • Mar 2013
      • 78

      #3
      Hello, does it really matter which normalization you use with edgeR? I guess I do not understand really well the differences.
      I am using TMM now but I have no 'solid' argument why i chose that instead of upperquartile or RLE.

      Any thoughts?
      thanks

      normalization:

      #y <- calcNormFactors(y, method="TMM")
      #y <- calcNormFactors(y, method="upperquartile")
      #y <- calcNormFactors(y, method="RLE")
      y$samples

      Comment

      Latest Articles

      Collapse

      • 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
      • GATTACAT
        Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by GATTACAT
        Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
        07-01-2026, 11:43 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 10:26 AM
      0 responses
      12 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-09-2026, 10:04 AM
      0 responses
      25 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-08-2026, 10:08 AM
      0 responses
      16 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-07-2026, 11:05 AM
      0 responses
      33 views
      0 reactions
      Last Post SEQadmin2  
      Working...