Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • DESeq and edgeR

    Hi,
    i am using both programs to analyse differential expression.
    i used this manual http://manuals.bioinformatics.ucr.edu/home/ht-seq
    so may script is that:

    library("DESeq");
    conditions <- c("1","2")
    cds <- newCountDataSet(x,conditions)
    cds <- estimateSizeFactors(cds)
    cds <- estimateDispersions(cds,method="blind",sharingMode="maximum",fitType="local")
    res <- nbinomTest(cds,condA="1",condB="2")
    res[order(res$padj), ][1:4,]

    sigDESeq <- res[res$padj <= 0.05, ]
    sigDESeq <- na.omit(sigDESeq)
    sigDESeq <- as.character(sigDESeq[,1])

    library("edgeR");
    group <- factor(c(1,2))
    cdsR <- DGEList(counts=x, group=group)
    cdsR <- estimateCommonDisp(cdsR)
    cdsR <- estimateTagwiseDisp(cdsR)
    et <- exactTest(cdsR, pair=c("1", "2"))

    all <- as.data.frame(topTags(et, n=100000))
    sigedgeR <- all[all$adj.P.Val <= 0.05, ]
    sigedgeR <- na.omit(sigedgeR)
    sigedgeR <- row.names(sigedgeR)

    source("http://faculty.ucr.edu/~tgirke/Documents/R_BioCond/My_R_Scripts/overLapper.R")
    OLlist <- overLapper(setlist=list(DESeq=sigDESeq, edgeR=sigedgeR), sep="_", type="vennsets")
    counts <- sapply(OLlist$Venn_List, length)
    vennPlot(counts=counts)
    counts

    oveLapp <- OLlist$Venn_List

    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

    i want to check Differential expression between biological replicates.(here: i have only 2)
    1 & 2 are biological replicates.

    the problem is:
    in edgeR i get 377 significant genes where in DESeq i got 0 (ZERO)

    it looks weird to me, but i do'nt know what i did wrong..

    Any advice!?!?

    Thanks,
    Pap

  • #2
    For the record, Pap cross-posted this question also to another list, where it has been addressed in the thread starting at https://stat.ethz.ch/pipermail/bioco...ch/044178.html
    Wolfgang Huber
    EMBL

    Comment


    • #3
      Hi Wolfgang Huber,
      Thank you!
      i didn't see that someone answer me there

      Comment


      • #4
        I had the similar issue. I used the sharingMode="fit-only", but still Deseq gave me 0 differential genes, whereas edgeR gave over 1000

        I couldn't post to BioC mailist since it was in archive and I just subscribed. So I posted here.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Non-Coding RNA Research and Technologies
          by seqadmin




          Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

          Nobel Prize for MicroRNA Discovery
          This week,...
          10-07-2024, 08:07 AM
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 10-11-2024, 06:55 AM
        0 responses
        11 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 10-02-2024, 04:51 AM
        0 responses
        109 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 10-01-2024, 07:10 AM
        0 responses
        114 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 09-30-2024, 08:33 AM
        1 response
        119 views
        0 likes
        Last Post EmiTom
        by EmiTom
         
        Working...
        X