Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • jbio
    Junior Member
    • Mar 2013
    • 3

    Nested Multi-Level Model for RNA-Seq Differential Expression

    I have read several other postings regarding nested models, but they did not seem to exactly capture my particular case, and I'm a bit unsure how to proceed with analysis of my model. Any help would be appreciated.

    I have a RNA-Seq read count table with (1) multiple tissues from (2) two species and (3) three replicate individuals from each species.

    In only three of the tissues from only one species, there is a particular Trait we are interested in. The remainder of the tissues from that species and all the tissues from the other species do not exhibit the 'Trait'.
    (Here 'Trait' is a two-level categorical variable). Therefore, the 'Tissue' categories are nested within 'Trait'/non-'Trait'.

    The first analysis I tried was just a simple flat comparison with all tissues that exhibit the 'Trait', compared against those that do not exhibit 'Trait.' This, however, falls prey to the classic fallacy when a nested model should be used, and the flat comparison has inflated P-values. This also led to some situations where very high differentials in one Tissue with 'Trait' would compensate for another Tissue with 'Trait' and no difference at all to the non-'Trait' tissues.

    So far I have been using limma with voom and have tried several models including:

    (1) design <- model.matrix(~0+Trait) using only the 'Trait' coefficient (flat)

    (2) design <- model.matrix(~0+Trait/Tissue) using the 'Trait' and all estimable interaction coefficients

    (3) design <- model.matrix(~0+Tissue) using all pairwise contrasts between 'Trait and 'nonTrait' to calculate an F-statistic

    (3) design <- model.matrix(~0+Tissue) using the contrast (A+B+C)/3 - (D+E+F+G+H+I)/5 where ABC are the 'Trait' and DEFGHI are non-'Trait'

    I have also tried these models with/without the duplicateCorrelation() function.

    What I want is to have a list where (1) all the tissues with 'Trait' and (2) all the replicates within that tissue both consistently show a differential with all non-'Trait' tissues. The flat comparison is the closest, but does not use the 'Tissue' information to make sure all Tissues have high differentials.

    I know from previous postings that most diff. expression software does not explicitly handle mixed or nested models, but if anyone has any tips or has dealt with a similar model, I would appreciate the help. Also, even though I'm currently using limma, I'm perfectly happy to switch if another software will accommodate this model better.

    Thanks,

    J
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Most DE packages (limma, edgeR, DESeq2) already use shrinkage, which is also the benefit to using a mixed-effect model. Given that, the most obvious model would simply be ~Trait+Tissue, since it sounds like that's what you actually care about.

    Comment

    • jbio
      Junior Member
      • Mar 2013
      • 3

      #3
      For topTable then, what coefficients would I want to use?

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        Just "Trait".

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by SEQadmin2


          I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

          Here are nine questions we think about, in roughly the order they matter, before...
          06-18-2026, 07:11 AM
        • SEQadmin2
          From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
          by SEQadmin2


          Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


          The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
          ...
          06-02-2026, 10:05 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Today, 11:10 AM
        0 responses
        6 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-17-2026, 06:09 AM
        0 responses
        42 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-09-2026, 11:58 AM
        0 responses
        102 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-05-2026, 10:09 AM
        0 responses
        124 views
        0 reactions
        Last Post SEQadmin2  
        Working...