Unconfigured Ad

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

    #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
        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
      62 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      44 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      77 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      76 views
      0 reactions
      Last Post SEQadmin2  
      Working...