Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • DESeq2 with replicates no sig padj

    So I am running data analysis on count data using DESeq2. I have three biological replicates for each condition. My results show significant p values but no padj values other than 1, even with very low pval. How can I troubleshoot? Truncated data set attached.

    setwd("C:/Users/Melissa Randel/Desktop")
    library( "DESeq" )
    theta = 0.3
    Fname_pos = "trunc_DESeq_out"

    CountTable3L_pos = read.table("counts_table.txt")
    Design3L_pos = data.frame( row.names = colnames( CountTable3L_pos ), condition = c( "untreated", "untreated", "untreated", "treated", "treated", "treated" ), libType = c( "single-end", "single-end", "single-end", "single-end", "single-end","single-end" ) )
    singleSamples_pos = Design3L_pos$libType == "single-end"
    countTable_pos = CountTable3L_pos[ , singleSamples_pos]
    condition_pos = Design3L_pos$condition[ singleSamples_pos ]
    full_cds_pos = newCountDataSet( countTable_pos, condition_pos )
    rs_pos = rowSums ( counts ( full_cds_pos ))
    use = (rs_pos > quantile(rs_pos, probs=theta))
    table(use)
    cds_pos = full_cds_pos[use,]
    cds_pos = estimateSizeFactors( cds_pos )
    cds_pos = estimateDispersions( cds_pos )
    res_pos = nbinomTest( cds_pos, "untreated", "treated" )
    write.table(res_pos, file = Fname_pos, append = FALSE, quote = FALSE, sep = "\t", eol = "\n", na = "NA", dec = ".", row.names = TRUE, col.names = TRUE, qmethod = c("escape", "double"), fileEncoding = "")

    min(res_pos$padj)
    Attached Files

  • #2
    Your truncated dataset appears to (correctly) have no significant hits. I'd go through the steps in the vignette and take a look at the dispersion and MA plots. Relatedly, it looks like you're using DESeq - would recommend using DESeq2.

    Comment


    • #3
      Small p-values are expected when you do many tests. One way to think about p-value correction is so you are not fooled by these small p-values which are expected under the null. Under the null, you would expect 1 p-value < 1/10,000 when you do 10,000 tests, 2 p-values less than 2/10,000, etc. If you run p-values like these (i.e. uniformly distributed) through an adjustment like the BH method, you will find there will generally be no set for which the FDR < x < 1. This is multiple test correction doing it's job. See the vignette for more description.

      Also, as fanli points out, that is DESeq code, not DESeq2.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Recent Developments in Metagenomics
        by seqadmin





        Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
        09-23-2024, 06:35 AM
      • seqadmin
        Understanding Genetic Influence on Infectious Disease
        by seqadmin




        During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

        Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
        09-09-2024, 10:59 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 10-02-2024, 04:51 AM
      0 responses
      13 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 10-01-2024, 07:10 AM
      0 responses
      21 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 09-30-2024, 08:33 AM
      0 responses
      25 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 09-26-2024, 12:57 PM
      0 responses
      18 views
      0 likes
      Last Post seqadmin  
      Working...
      X