Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Slacanch
    Member
    • Jan 2013
    • 10

    DEseq2 gives constant adjusted p-values

    I am doing some exploratory analyses on two datasets without replicates. i found it strange that irrespective of the calculated p-value, the adjusted p-value has constant value across all features. this value was 0.9999295.

    is there a known cause to this? does it relate to the fact that no replicates are being used?

    Thanks
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    No replicates? Yeah, you shouldn't expect to get anything significant in that case. Anyway, the actual answer is that the resulting adjusted values isn't strictly related to the lack of replicates, but is instead dependent on the distribution of the unadjusted p-values. DESeq2 uses the BH method from the p.adjust() function, as is the case for pretty much every other package. If you have a more or less uniform distribution of raw p-values, you should expect the adjusted p-values to be ~1.

    Comment

    • Slacanch
      Member
      • Jan 2013
      • 10

      #3
      I am well aware of the consequences of having no replicates, as it has rightly been stated in multiple threads already

      i just find it odd that every single adjusted p-value has the same exact value. i just checked the distribution of p-values and it is rather uniform (with a downward trend when approaching zero), but i still don't understand how having exactly the same value at all genes is possible.

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        Well, given what you describe, they should all be about 1. Any deviation from that is just due to how things are implemented (plus the joys of floating point arithmetic).

        Comment

        • Slacanch
          Member
          • Jan 2013
          • 10

          #5
          ooooh, so the value would be 1 everywhere but because of floating point approximation shenanigans it turns out to be 0.99 bla bla.

          it makes sense, i tried other correction methods and they all give either 1 or the same 0.999 value i had with the benjamini. so i would say it makes sense.

          Comment

          • dpryan
            Devon Ryan
            • Jul 2011
            • 3478

            #6
            Yup. If you're curious, this is how R does the BH adjustment method:
            Code:
            i <- lp:1L
            o <- order(p, decreasing = TRUE)
            ro <- order(o)
            pmin(1, cummin(n/i * p[o]))[ro]
            You input "p" and the adjusted values are the output of cummin() with a max value of 1. "lp" is just the length of the input vector.

            Comment

            Latest Articles

            Collapse

            • 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
            • SEQadmin2
              Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
              by SEQadmin2


              With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


              Introduction

              Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
              05-22-2026, 06:42 AM
            • SEQadmin2
              Environmental Genomics in the Age of NGS: From Microbes to Conservation Strategies
              by SEQadmin2

              Studying ecosystems means dealing with complex, multi-species communities that are hard to observe at scale. This complexity, however, hides many important questions to be answered, from how biogeochemical cycles work and how climate change can affect species distribution to how conservation strategies can work best.


              Genomics, particularly since the expansion of NGS, has transformed ecosystem ecology. By sequencing environmental DNA, we can now assess biodiversity without direct...
              05-06-2026, 09:04 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Today, 08:59 AM
            0 responses
            7 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-02-2026, 12:03 PM
            0 responses
            21 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-02-2026, 11:40 AM
            0 responses
            14 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 05-28-2026, 11:40 AM
            0 responses
            29 views
            0 reactions
            Last Post SEQadmin2  
            Working...