Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • DESeq can not detect significant DE genes.

    Dear all,
    I recently used DEseq to call DE genes and I have successfully run it for several dataset. However for the following dataset, I could not get any 'significant' DE gene with Padj < 0.05. Though, the within group variation between replicates are small and from the correlation between samples you can tell that CTR and Treated are obviously different. So my question is how could this happened? I have tried to figure out the problem but with no success.

    Here is my R command for the analysis:
    input file are attached behind. (ExperimentDesign.txt and RawCountTable.txt)
    =============================
    countTable.TBI.all = read.table("RawReadCount.txt",header=TRUE, row.names=1)
    designTable.TBI.all = read.table("ExperimentDesign.txt",header=TRUE, row.names=1)
    samples.CTR.vs.Treat = designTable.TBI.all$Condition == "CTR" | designTable.TBI.all$Condition =="Treat"
    countTable.CTR.vs.Treat = countTable.TBI.all[ , samples.CTR.vs.Treat]
    conditions.CTR.vs.Treat = designTable.TBI.all$Condition[samples.CTR.vs.Treat]
    conditions.CTR.vs.Treat = factor(conditions.CTR.vs.Treat)
    library(DESeq)
    CTR.vs.Treat.cds = newCountDataSet(countTable.CTR.vs.Treat, conditions.CTR.vs.Treat)
    CTR.vs.Treat.cds = estimateSizeFactors(CTR.vs.Treat.cds)
    CTR.vs.Treat.cds = estimateDispersions(CTR.vs.Treat.cds)
    CTR.vs.Treat.res = nbinomTest(CTR.vs.Treat.cds, "CTR", "Treat")
    ===================================================
    Attached Files

  • #2
    You just reversed the order of the treatment and control conditions.
    In your counts file, it's Treat1, Treat2, Treat3, CTR1, CTR2,
    In your conditions vector, it's CTR, CTR, Treat, Treat, Treat.
    It's actually reassuring that DESeq does not find any significant differences in gene expression with this input.

    > conditions.CTR.vs.Treat
    [1] CTR CTR Treat Treat Treat
    Levels: CTR Treat
    > head(countTable.CTR.vs.Treat)
    Treat1 Treat2 Treat3 CTR1 CTR2
    Mbp 255219 261306 295123 365033 415838
    Apoe 255618 333022 275713 31494 33771
    Gfap 135100 143838 143669 57978 62635
    Plp1 83787 92153 100662 165798 207643
    Fth1 97740 108155 113955 122369 117290
    Sparcl1 44654 43945 53549 72772 90997
    Last edited by blancha; 05-02-2014, 07:30 PM.

    Comment


    • #3
      Thank you very much blancha~
      Works like a charm.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Exploring the Dynamics of the Tumor Microenvironment
        by seqadmin




        The complexity of cancer is clearly demonstrated in the diverse ecosystem of the tumor microenvironment (TME). The TME is made up of numerous cell types and its development begins with the changes that happen during oncogenesis. “Genomic mutations, copy number changes, epigenetic alterations, and alternative gene expression occur to varying degrees within the affected tumor cells,” explained Andrea O’Hara, Ph.D., Strategic Technical Specialist at Azenta. “As...
        07-08-2024, 03:19 PM
      • seqadmin
        Exploring Human Diversity Through Large-Scale Omics
        by seqadmin


        In 2003, researchers from the Human Genome Project (HGP) announced the most comprehensive genome to date1. Although the genome wasn’t fully completed until nearly 20 years later2, numerous large-scale projects, such as the International HapMap Project and 1000 Genomes Project, continued the HGP's work, capturing extensive variation and genomic diversity within humans. Recently, newer initiatives have significantly increased in scale and expanded beyond genomics, offering a more detailed...
        06-25-2024, 06:43 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Today, 07:20 AM
      0 responses
      13 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 07-16-2024, 05:49 AM
      0 responses
      33 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 07-15-2024, 06:53 AM
      0 responses
      37 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 07-10-2024, 07:30 AM
      0 responses
      41 views
      0 likes
      Last Post seqadmin  
      Working...
      X