# Understanding differential gene expression analysis

**URL:** <https://discourse.scverse.org/t/understanding-differential-gene-expression-analysis/57>\
**Category:** scvi-tools\
**Created:** [March 24, 2021, 6:35pm UTC](https://discourse.scverse.org/t/understanding-differential-gene-expression-analysis/57 "2021-03-24T18:35:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sim](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/sim/32/38_2.png) [@sim](https://discourse.scverse.org/u/sim)\
**Post date:** [March 31, 2021, 1:44pm UTC](https://discourse.scverse.org/t/understanding-differential-gene-expression-analysis/57/4 "2021-03-31T13:44:43Z")

</div>

Interesting discussion. Can I ask a question regarding the sampling process. I am fairly new to this tool, and use it now more and like it.

Q:  
If we compare the differential gene expression between one clusters with two conditions - and we have 100 cells from condition\_A and 1000 cells from condition\_B . Condition\_A has a normally distributed expression around 10 and treatment\_B has also a normally distributed expression value around 8 (for the sake of the example, but this brings up another question how the expression is distributed in clusters in general after QC?). Then we (maybe) would a significant higher expression in condition\_A than in condition\_B - although the cell numbers are off right (this applies to all the method for DGE I guess)? Do we correct for that bias somehow, or is that something to observe and take care of?

Another question I would have is also regarding the sampling with replacement - how small (from the cell count) can clusters get to compare them - can we compare clusters with 10 cells each for DGE if we do sampling with replacement?

Thanks in advance for your feedback, really looking forward to understand the tool better,  
best wishes,  
Simon

---

_[View the full topic](https://discourse.scverse.org/t/understanding-differential-gene-expression-analysis/57)._
