Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • yve
    Junior Member
    • Mar 2012
    • 1

    DESeq newCountDataSet with seven groups

    Hello,

    I have a question regarding the differential analysis of miRNAs with DESeq. I have seven different groups (all with replicates), one control group and six groups corresponding to different cells.
    I want to do pairwise comparisons between the control group and each of the other groups. Therefore I did the following:

    countData <- newCountDataSet(countTable, groups)
    countData <- estimateSizeFactors(countData)
    countData <- estimateDispersions(countData, method="pooled")

    Next I did the following (group 1 being the control group):

    res <- nbinomTest( countData, group1, group2 )
    res <- nbinomTest( countData, group1, group3 )
    res <- nbinomTest( countData, group1, group4 ) ...

    Now my question is, if this is the right way to do this analysis or if I should estimate the size factors and dispersion using only the "needed data" for the specific analysis:

    countData <- newCountDataSet(countTable[,c(group1, group2)], groups)
    countData <- estimateSizeFactors(countData)
    countData <- estimateDispersions(countData, method="pooled)

    res <- nbinomTest( countData, group1, group2 )

    Thanks in advance!

    Yvonne
  • Simon Anders
    Senior Member
    • Feb 2010
    • 995

    #2
    There are arguments in favour of either way. Estimating the dispersion from all samples has more degrees of freedom and hence yields more precise estimates, which (due to DESeq's "maximum rule") translates into better power.

    On the other hand, if replicates agree badly in one group, this will drive up the dispersion estimates for the full data and hence costs power for all comparisons, unless you do everything separately.

    I would use the full data, but first check (with a sample clustering after a variance-stabilizing transformation) that there are no bad samples.

    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, 06-17-2026, 06:09 AM
    0 responses
    37 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-09-2026, 11:58 AM
    0 responses
    100 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-05-2026, 10:09 AM
    0 responses
    121 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-04-2026, 08:59 AM
    0 responses
    114 views
    0 reactions
    Last Post SEQadmin2  
    Working...