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
        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
      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 08:47 AM
      0 responses
      14 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      60 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      60 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      54 views
      0 likes
      Last Post seqadmin  
      Working...
      X