Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aoifemc
    Junior Member
    • Aug 2012
    • 4

    #1

    DESeq filtering

    I have a question about filtering prior to DE analysis using DESeq -is common practice to just use all raw count values for conditions (i.e. disease/control) or would it be better to ensure that every gene being tested for differential expression has at least say 5 or 10 reads in each of the replicates within the condition groups. I understand that DESeq can account for low read counts & I've found in my data that I get a larger number of genes that are significant when I filter as I guess there aren't as many tests being conducted however I'm unsure which i should go with.
    I know this kind of question will depend on the data itself and there may be no right or wrong answers but I know very few people doing this kind of analysis with whom I can discuss ...and in my data I've found that not all of the genes that are significant with the unfiltered data are still significant when I filter(despite the inc in the number of genes reaching significance) so Im just wondering what people consider best practice ??
    thanks for any advice
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Have a look at this paper.

    Comment

    • aoifemc
      Junior Member
      • Aug 2012
      • 4

      #3
      Great-Thanks!!

      Comment

      • Simon Anders
        Senior Member
        • Feb 2010
        • 995

        #4
        Note also that we have recently expanded the DESeq vignette with a section discussing such filtering.

        Comment

        • pinki999
          Member
          • Oct 2010
          • 37

          #5
          Can we carry out VST (variance stabilizing transformation) after the filtering step?

          Comment

          • rfilbert
            Member
            • Dec 2012
            • 43

            #6
            pre-filtering is a bad idea. Why do people do it? Because the software can't handle large data?

            Comment

            • dpryan
              Devon Ryan
              • Jul 2011
              • 3478

              #7
              Originally posted by rfilbert View Post
              pre-filtering is a bad idea. Why do people do it? Because the software can't handle large data?
              There's no benefit to performing tests on genes that have no chance at showing a difference due to counts being too low. Had you bothered to read the paper I referenced, you would have known that.

              Comment

              • chadn737
                Senior Member
                • Jan 2009
                • 392

                #8
                Originally posted by rfilbert View Post
                pre-filtering is a bad idea. Why do people do it? Because the software can't handle large data?

                1) Specifically why is prefiltering "a bad idea"?

                2) It has nothing to do with not being able to handle "large data". Detection power is reduced due to the number of genes tested, and is true for ALL software. Prefiltering is a way of addressing the issue by removing those genes that are unlikely to be differentially expressed and so reduce the overall number of tests performed.
                Last edited by chadn737; 01-16-2013, 06:15 PM.

                Comment

                • pinki999
                  Member
                  • Oct 2010
                  • 37

                  #9
                  But, is it a good idea to filter before variance stabilizing?

                  Comment

                  • rfilbert
                    Member
                    • Dec 2012
                    • 43

                    #10
                    why pre-filter at all? It is only an opportunity for false negatives. I think the only reason for filtering is software that can't handle the whole genome.

                    Comment

                    • rfilbert
                      Member
                      • Dec 2012
                      • 43

                      #11
                      Originally posted by dpryan View Post
                      There's no benefit to performing tests on genes that have no chance at showing a difference due to counts being too low. Had you bothered to read the paper I referenced, you would have known that.
                      Clearly you have little background or access to a real statistician. Hello World! You must filter out low abundance transcripts - they are clearly not important!

                      Comment

                      • chadn737
                        Senior Member
                        • Jan 2009
                        • 392

                        #12
                        Originally posted by rfilbert View Post
                        why pre-filter at all? It is only an opportunity for false negatives. I think the only reason for filtering is software that can't handle the whole genome.
                        Clearly you have little background or access to a real statistician. Hello World! You must filter out low abundance transcripts - they are clearly not important!
                        Clearly you don't either, other than the salesman at Partek.

                        Prefiltering reduces False Negatives. When one prefilters, you are usually removing genes with zero or very few counts. At very low count numbers the shot noise can dominate and all but the most significant changes will not be considered differentially expressed. As typically there will be hundreds, if not thousands of genes with zero to only a few reads, this has a huge affect on multiple testing correction and can lead to a large number of False Negatives. Removing these genes relaxes the multiple testing correction so that more of these genes pass the test.

                        Prefiltering can increase False Positives, but you said False Negatives, not False Positives. However, this can largely be mitigated if you filter using methods like those described in the PNAS paper linked to previously.

                        Every program for differential expression has no problem handling entire genomes. I have used DESeq and EdgeR on genomes twice the size of the human genome with ease. Try using them before you blindly criticize.

                        Comment

                        • chadn737
                          Senior Member
                          • Jan 2009
                          • 392

                          #13
                          Originally posted by pinki999 View Post
                          But, is it a good idea to filter before variance stabilizing?
                          I'm not sure. What are you wanting to do with the variance stabilized data? As Filtering is usually done to increase detection of differential expression, there may not be any advantage in doing it for other purposes.

                          Comment

                          • rfilbert
                            Member
                            • Dec 2012
                            • 43

                            #14
                            Originally posted by chadn737 View Post
                            Clearly you don't either, other than the salesman at Partek.

                            Prefiltering reduces False Negatives. When one prefilters, you are usually removing genes with zero or very few counts. At very low count numbers the shot noise can dominate and all but the most significant changes will not be considered differentially expressed. As typically there will be hundreds, if not thousands of genes with zero to only a few reads, this has a huge affect on multiple testing correction and can lead to a large number of False Negatives. Removing these genes relaxes the multiple testing correction so that more of these genes pass the test.

                            Prefiltering can increase False Positives, but you said False Negatives, not False Positives. However, this can largely be mitigated if you filter using methods like those described in the PNAS paper linked to previously.

                            Every program for differential expression has no problem handling entire genomes. I have used DESeq and EdgeR on genomes twice the size of the human genome with ease. Try using them before you blindly criticize.
                            Um, if you filter out a gene that is truly differentially expressed, that is a false negative. Are you a statistician? Seems you are not.

                            Comment

                            • chadn737
                              Senior Member
                              • Jan 2009
                              • 392

                              #15
                              Originally posted by rfilbert View Post
                              Um, if you filter out a gene that is truly differentially expressed, that is a false negative. Are you a statistician? Seems you are not.
                              I see you aren't getting it.

                              Genes with very few reads, of which there can be hundreds or thousands, are unlikely to be called as differentially expressed, unless the differences are very large.

                              On the other hand, because of multiple testing correction, many genes of higher expression will not pass the threshold of being considered differentially expressed.

                              Filtering will result in a handful of genes with low expression that are differentially expressed being discarded, but will allow for many more genes of higher expression to pass the threshold of being differentially expressed.

                              So overall MORE genes are called differentially expressed and the overall number of false negatives is decreased.

                              You should take a day or two to actually read some papers on the matter. Like the linked PNAS paper, the DESeq, EdgeR, etc papers and vignettes. These all explain exactly what they do so that nothing is hidden, unlike the black boxes that you are putting your data into.
                              Last edited by chadn737; 01-16-2013, 06:15 PM.

                              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
                              30 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-22-2026, 10:48 AM
                              0 responses
                              22 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-15-2026, 10:52 AM
                              0 responses
                              39 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-14-2026, 05:39 AM
                              0 responses
                              45 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...