Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • David [R]
    Member
    • Jul 2012
    • 12

    edgeR, "DGELIst" function, "group" parameter

    Hi,

    I am using edgeR for some RNASeq analysis. My question concerns the DGEList function and its "group" parameter. I realized that, whether doing group=mydesignfactor or group=rep(1,ncol(counts)), the cpm numbers that I get after
    counts.TMM <- calcNormFactors(counts.DGEList)
    cpm.TMM=cpm(counts.TMM, normalized.lib.sizes=TRUE)
    are strictly identical in either case. The only difference between both ways is that the counts.TMM$samples$group column duly reflects what I put in in "group".

    Is this normal? What is it that I am missing? Is the "group" nevertheless taken into account on the subsequent estimateGLMCommonDisp, estimateGLMTrendDisp, estimateGLMTagDisp, glmFit, glmLRT etc.?

    Thanks in advance for your help.

    Best,

    David Rengel
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    There's no reason that cpm should be dependent upon your experimental design (in fact, it shouldn't be). The various GLM function pay attention to the design, since that's where it's important.

    Comment

    • David [R]
      Member
      • Jul 2012
      • 12

      #3
      Hi dpryan,

      THanks for your reply. Yes, that is right. My only only doubt came from de fact that if normalized.lib.sizes=TRUE, then the cpm are calculated using the normalization factors, which I thought were somehow dependent on your experimental design, but it seems I was mistaken.

      David

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        Correct, normalization factors are independent from experimental design.

        Comment

        • David [R]
          Member
          • Jul 2012
          • 12

          #5
          Thanks a lot!

          Comment

          Latest Articles

          Collapse

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 11:58 AM
          0 responses
          10 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-05-2026, 10:09 AM
          0 responses
          25 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-04-2026, 08:59 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-02-2026, 12:03 PM
          0 responses
          58 views
          0 reactions
          Last Post SEQadmin2  
          Working...