text: user1730: I am using DESeq2 to perform a differential expression analysis, but I obtained very strange results for some genes. For some genes, I have very high log2FoldChange with very low p-value as displayed in the following table.
  
  When I look the normalized expression values for these genes.  I can see that these genes are expressed in only one single sample (condition1= samples from 1 to 7, condition2 = samples 8 to 13).
  
  Could you please tell me how to avoid DESeq2 to detect these genes as differentially expressed ?
  I am using to following commands:
  dds                      <- DESeqDataSetFromHTSeqCount(sampleTable = sampleTable, directory = directory, design= ~ condition)
  dds                      <- DESeq(dds)
  res                      <- results(dds, contrast=c("condition",condition1,condition2))
  
  
  user196: I'm guessing here, but I suspect this is at least in part due to the fact that all your samples in condition 1 are not expressed at all. 
  Formally you have an infinitely large fold-change between condition1 and condition2. Most tools solve this by adding a small pseudocount to unexpressed samples, but this will still result in a very high fold change. So far for the big fold-change.
  If I had to guess at the reason why this is significant I would think in terms of dispersion estimation. This Bioconductor post has some discussion with the authors of DESeq2 on how this works.
  Finally: calculating differential expression on these genes in these samples will never be really informative, as they really are only expressed in one sample. The way I see it you have two options:
  
  Exclude the sample from your analysis. Straightforward, but does not solve this problem for other samples.
  Filter your genes before calculating differential expression, i.e. remove all genes that are not expressed in a large number of samples. This approach is standard in for instance sleuth. A good starting point would be to remove genes that are not expressed in 75% of your samples.
  
  
original_text: 1730: <p>I am using DESeq2 to perform a differential expression analysis, but I obtained very strange results for some genes. For some genes, I have very high log2FoldChange with very low p-value as displayed in the following table.</p>
  
  <p><a href="https://i.stack.imgur.com/V35Fp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V35Fp.png" alt="enter image description here"></a></p>
  
  <p>When I look the normalized expression values for these genes.  I can see that these genes are expressed in only one single sample (condition1= samples from 1 to 7, condition2 = samples 8 to 13).</p>
  
  <p><a href="https://i.stack.imgur.com/Ooejw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ooejw.png" alt="enter image description here"></a></p>
  
  <p>Could you please tell me how to avoid DESeq2 to detect these genes as differentially expressed ?</p>
  
  <p>I am using to following commands:</p>
  
  <pre><code>dds                      &lt;- DESeqDataSetFromHTSeqCount(sampleTable = sampleTable, directory = directory, design= ~ condition)
  dds                      &lt;- DESeq(dds)
  res                      &lt;- results(dds, contrast=c("condition",condition1,condition2))
  </code></pre>
   196: <p>I'm guessing here, but I suspect this is at least in part due to the fact that all your samples in condition 1 are not expressed at all. </p>
  
  <p>Formally you have an infinitely large fold-change between condition1 and condition2. Most tools solve this by adding a small pseudocount to unexpressed samples, but this will still result in a very high fold change. So far for the big fold-change.</p>
  
  <p>If I had to guess at the reason why this is significant I would think in terms of dispersion estimation. <a href="https://support.bioconductor.org/p/100764/" rel="nofollow noreferrer">This Bioconductor post</a> has some discussion with the authors of DESeq2 on how this works.</p>
  
  <p>Finally: calculating differential expression on these genes in these samples will never be really informative, as they really are only expressed in one sample. The way I see it you have two options:</p>
  
  <ol>
  <li>Exclude the sample from your analysis. Straightforward, but does not solve this problem for other samples.</li>
  <li>Filter your genes before calculating differential expression, i.e. remove all genes that are not expressed in a large number of samples. This approach is standard in for instance <a href="https://pachterlab.github.io/sleuth/about" rel="nofollow noreferrer">sleuth</a>. A good starting point would be to remove genes that are not expressed in 75% of your samples.</li>
  </ol>
  