Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ErikFas
    Member
    • Jun 2014
    • 86

    #1

    Help with baySeq and limma for RNA-seq DE-analysis

    I'm currently trying to learn how to use the other DE-analysis pipelines that I don't already use (DESeq2), and I have started with limma and baySeq. I'm having some problems, though...

    First, baySeq. I'm reading the vignette from Bioconductor, and while I can get some results using the example data, I can't do that with my own data. This is a small piece of my counts table:

    Code:
                    hct_a hct_b hct_c rko_a rko_b rko_c
    ENSG00000XXXXXX  3376  3469  3917  2704  1713  1847
    ENSG0000XXXXXXX     0     0     0     0     0     0
    ENSG00000XXXXXX  5299  4700  4974  3212  2503  3340
    ENSG00000XXXXXX   892  1130  1386   262   360   362
    ENSG0000XXXXXXX  1453   568  1610  1482   514   908
    ENSG0000XXXXXXX     0     0     0     0     0     0
    ... (20,000 ish genes)
    Following the procedure in the vignette, my code looks like this:

    Code:
    replicates = c(rep("hct", 3), rep("rko", 3))
    groups = list(NDE=c(rep(1, 6)), DE=c(rep(1, 3), rep(2, 3)))
    CD = new("countData", data = merged, replicates = replicates, groups = groups)
    libsizes(CD) = getLibsizes(CD)
    plotMA.CD(CD, samplesA="hct", samplesB="rko", col=c(rep("red", 100), rep("black", 900)))
    ... and that's as far as I come. The resulting plot looks really weird, not a MA-plot at all: I only have six points! Obviously this has something to do with my data or the way I handle it, and I assume that the six points has something to do with the 3 + 3 replicates. I did try the rest of the vignette standard procedure as well, but the Volcano plot looks equally weird and the lowest FDR.DE I get is around 85%, so whatever is wrong must be wrong even before that. Can anybody see what I've screwed up?

    Secondly, limma: this has gone much better, and I have a finished script that works just fine. The only question I have is about the counts table to use, and pertains to this line in the vignette: "The limma-voom method assumes that rows with zero or very low counts have been removed." Does that mean that I remove genes where ALL the samples have 0 count, or do I remove genes that have ANY samples with 0 count? (related to this: is this needed for baySeq, or do I use the counts table as-is?)
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Regarding limma/voom, just remove rows where rowSums() is really low. They don't all have to be 0, but if they're all really low then the mean-dispersion relationship isn't always fit very well (and then you get funky results).

    I have no idea about baySeq, I've never used it.

    Comment

    • ErikFas
      Member
      • Jun 2014
      • 86

      #3
      Thanks for your reply! Exactly what do you mean by "really low"? I've seen various cutoffs in various papers, from 10 to 16 to 20 counts, but I'm not sure if those were for individual sample counts or for the row sums.

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        You'll have to have a look at the diagnostic plots. It's usually pretty apparent if the fit is really off at the low end.

        Comment

        • ErikFas
          Member
          • Jun 2014
          • 86

          #5
          Okay, thanks!

          Anybody with baySeq experience that have any ideas as to why I can't get it to work?

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
            by SEQadmin2



            Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

            Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
            ...
            10-14-2026, 09:55 AM
          • SEQadmin2
            New Genomics Technologies Take Aim at Long-Standing Limits
            by SEQadmin2


            Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

            We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
            ...
            09-28-2026, 10:25 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 10-22-2026, 11:13 AM
          0 responses
          24 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          36 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          42 views
          0 reactions
          Last Post SEQadmin2  
          Working...