Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • afkoeppel
    Member
    • Jul 2011
    • 19

    #1

    DEseq2 analysis: Seeming incongruity between PCA & distance heatmap

    Hello all,

    I'm running an RNAseq analysis with DESeq2 (R version 3.1.0, DESeq2_1.4.5 ). Looking at my QC plots, I noticed an odd discrepancy between the PCA plot and the distance heatmap.

    One of the samples (labeled Sample_4 in the attached images) clusters right among the other samples on the PCA, but on the heatmap it appears to be an outlier compared to the other samples.

    I've run a lot of analyses like this using DESeq2 with very similar code, and I've never seen a discrepancy this big between these two plots before. Has anyone encountered this situation before, or have a good idea as to what might explain this?

    Could it have to do with the relatively small amount of total variation explained by PC1 and PC2 (18.4% & 17.6% respectively)?

    Thanks,

    Alex
    Attached Files
  • Michael Love
    Senior Member
    • Jul 2013
    • 333

    #2
    The distance between samples on the PCA plot is an approximation of the distance using all the genes, and the quality of the approximation depends on how much variance is captured by PC1 and PC2 (here only ~35%).

    Also, if you were using plotPCA (it looks like you are not though), the PCA is calculated on the top n genes ranked by variance, instead of all the genes.

    Comment

    • turnersd
      Senior Member
      • May 2011
      • 115

      #3
      Hey Mike. Thanks for responding. I'm working with Alex on this. We also used the plotPCA function and got the same results (the code used here to make the PCA plots was based on plotPCA - we had difficulty changing the default colors at one point in the plocPCA's history).

      I believe the sample distance heatmap was made using some code that may have been part of the DESeq vignette at one point - something like `heatmap.2(as.matrix(dist(t(assay(rld)))))` where rld is the regularized log transformed dataset.

      So I think I'm hearing you say we're seeing this because the first two PCs aren't explaining that much variance. Still seems odd to me that the distance matrix based on all genes (or top N based on variance) still shows this particular sample as a pretty obvious outlier where PCA did not.

      Looking forward to those time-series examples in the vignette you promised last month in Boston

      Comment

      • Michael Love
        Senior Member
        • Jul 2013
        • 333

        #4
        hi Stephen,

        Something to explore: look into the other PC's to see if this sample sticks out in one of those.

        Yes, the time series dataset I submitted to Bioc is currently in review, and once that's done I can write up a workflow. It's a fission yeast time series.

        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
        27 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
        43 views
        0 reactions
        Last Post SEQadmin2  
        Working...