Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • giuliano stirparo
    Junior Member
    • Nov 2011
    • 6

    #1

    glm edgeR issue

    Hi everybody
    I just performed a time series analysis on edgeR and I have a question.
    This is my data frame for the condition and time:
    sample condition time
    1 sample1 Placebo 1h
    2 sample2 Placebo 1h
    3 sample3 Placebo 2h
    4 sample4 Placebo 2h
    3 sample5 Placebo 4h
    4 sample6 Placebo 4h
    5 sample7 Drug 1h
    6 sample8 Drug 1h
    7 sample9 Drug 2h
    8 sample10 Drug 2h
    9 sample11 Drug 4h
    10 sample12 Drug 4h

    and my script to test interaction

    design<-model.matrix(~condition*time,data=meta)
    y<-DGEList(counts=countTable)
    y<-calcNormFactors(y,method="TMM")
    y<-estimateGLMCommonDisp(y,design)
    y<-estimateGLMTrendedDisp(y,design)
    y<-estimateGLMTagwiseDisp(y,design)
    fit<-glmFit(y,design)
    colnames(design)
    "(intercept)" "conditionDrug" "time2h" "time4h" "conditionDrug:time2h" "conditionDrug:time4h"
    lrt<-glmLRT(fit,coef=6)
    In this case with coef=6 I am able to detect the genes that respond differently to the drug, relative to placebo at 4h.
    But same gene that are modulated are not expressed either in placebo 4h and Drug 4h!!!
    Example(matrix of countTable)
    ID Placebo-1h Placebo-1h Placebo-2h Placebo-2h Placebo-4h Placebo-4h Drug-1h Drug-1h Drug-2h Drug-2h Drug-4h Drug-4h
    ENSMUSG000000xxxx 0 5 4 0 0 0 0 3 0 1 0 0
    And here the different comparison
    ID logFC logCPM LR PValue
    "ENSMUSG000000xxxx" -4.36 0.14 6.48 0.01 Placebo4-h
    "ENSMUSG000000xxxx" -2.19 0.14 1.21 0.27 Drug-4h
    "ENSMUSG000000xxxx" 2.16 0.14 100.14 1.41e-23 Contrast(Placebo-4h/Drug-4h)
    As you can see in the contrast Placebo-4h and Drug-4h I have a logFC of 2.16(that is the difference between Placebo-1h/Placebo-4h and Drug-1h/Drug-4h) and a PValue of 1.41e-23!!But I have no reads on this gene!
    How is possible?
    Could you help me to understand if I made same mistake in the analysis?

    Thank you

    Giuliano
  • Gordon Smyth
    Member
    • Apr 2011
    • 91

    #2
    No this isn't possible, so you have presumably made a mistake.

    The edgeR User's Guide asks you to send questions to the Bioconductor mailing list. If you write to that list, someone will help diagnose your problem.

    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, Yesterday, 11:13 AM
    0 responses
    16 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, Yesterday, 10:48 AM
    0 responses
    17 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-15-2026, 10:52 AM
    0 responses
    35 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-14-2026, 05:39 AM
    0 responses
    42 views
    0 reactions
    Last Post SEQadmin2  
    Working...