Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • teshome
    Junior Member
    • Jan 2010
    • 4

    #1

    EdgeR repeated measurment

    Hi everybody,
    I have question on repeated measure analysis using edegR or DESeq.
    The experiment contains two groups (low and good) and three time point(0 day, 14 day, and 28 day) from 6 individuals in each group (i.e. repeated in each time; in total 36 samples). I want to check which gene is differentially expressed within the group between time points and between groups at different time point.

    I am think to analyse using a mixed-model nested repeated measures.
    where;
    quality = main effect (i.e. good or low - fixed)
    individuals(quality) = individual nested within quality (random factor)
    time = fixed factor and repeated factor
    time x quality = fixed factor
    time x individual(quality) = random factor

    Is this sound ok? If so, can I model it in edgeR as it is mentioned in section 3 of user guide, like this:

    quality <- factor(DATA$quality, levels=c("good", "low"))
    time <- factor(DATA$time, levels=c("0day","14day","28day"))

    design <- model.matrix(~quality+quality:individual+quality:time)

    How the contrast argument works for example to compare good:0day vs low:0day? Should I relevel the base to 14 day or 28 day to get the contrast among time points?
    Thanks
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Neither edgeR nor DESeq(2) support mixed-effect models; the normal way to handle this would be to simply set individual as a factor. BTW, "quality:individual" doesn't make any sense since each individual is in only 1 group. Just use individual alone. The model matrix you're looking for is simply:

    Code:
    design <- model.matrix(~individual + quality*time)
    I'm assuming that there may be a time-effect, but if not just remove that main effect.

    Comment

    • teshome
      Junior Member
      • Jan 2010
      • 4

      #3
      Thanks Ryan,
      I forgot to mention I blocked individuals, that is the reason "quality:individual" in the model. I am not interested in individuals per se rather their variance component.

      Comment

      Latest Articles

      Collapse

      • kinpict.com
        Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by kinpict.com
        The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
        Today, 06:37 PM
      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2





        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-03-2026, 11:54 AM
      2 responses
      56 views
      0 reactions
      Last Post kinpict.com  
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      175 views
      0 reactions
      Last Post SEQadmin2  
      Working...