Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


    • #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

      • 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, Today, 08:47 AM
      0 responses
      12 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
      59 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