# Differential expression analysis

**URL:** <https://discourse.scverse.org/t/differential-expression-analysis/1651>\
**Category:** scvi-tools\
**Created:** [July 31, 2023, 4:39pm UTC](https://discourse.scverse.org/t/differential-expression-analysis/1651 "2023-07-31T16:39:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![martinkim0](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/martinkim0/32/881_2.png) [@martinkim0](https://discourse.scverse.org/u/martinkim0)\
**Post date:** [August 3, 2023, 5:54pm UTC](https://discourse.scverse.org/t/differential-expression-analysis/1651/2 "2023-08-03T17:54:26Z")

</div>

Hi, thank you for your question. SCVI uses the batch-corrected normalized expression values (denoted as \rho\_n in the manuscript) for computing differentially expressed genes. You can see the relevant code portion [here](https://github.com/scverse/scvi-tools/blob/main/scvi/model/base/_rnamixin.py#L379)

---

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