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
        Best Practices for Single-Cell Sequencing Analysis
        by seqadmin



        While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
        06-06-2024, 07:15 AM
      • seqadmin
        Latest Developments in Precision Medicine
        by seqadmin



        Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

        Somatic Genomics
        “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
        05-24-2024, 01:16 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 06:54 AM
      0 responses
      10 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-14-2024, 07:24 AM
      0 responses
      16 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-13-2024, 08:58 AM
      0 responses
      16 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-12-2024, 02:20 PM
      0 responses
      17 views
      0 likes
      Last Post seqadmin  
      Working...
      X