Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


    • #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

      • seqadmin
        Recent Advances in Sequencing Analysis Tools
        by seqadmin


        The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
        05-06-2024, 07:48 AM
      • seqadmin
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 05-07-2024, 06:57 AM
      0 responses
      12 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-06-2024, 07:17 AM
      0 responses
      16 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-02-2024, 08:06 AM
      0 responses
      21 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-30-2024, 12:17 PM
      0 responses
      24 views
      0 likes
      Last Post seqadmin  
      Working...
      X