Unconfigured Ad

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

    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

      • SEQadmin2
        Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
        by SEQadmin2



        Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
        ...
        Today, 11:10 AM
      • SEQadmin2
        Cancer Drug Resistance: The Lingering Barrier to Rising Survival
        by SEQadmin2



        Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

        There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
        Yesterday, 05:17 AM
      • GATTACAT
        Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by GATTACAT
        Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
        07-01-2026, 11:43 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Today, 10:04 AM
      0 responses
      7 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, Yesterday, 10:08 AM
      0 responses
      6 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-07-2026, 11:05 AM
      0 responses
      9 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-02-2026, 11:08 AM
      0 responses
      31 views
      0 reactions
      Last Post SEQadmin2  
      Working...