# Ligand receptor analysis within squidpy

**URL:** <https://discourse.scverse.org/t/ligand-receptor-analysis-within-squidpy/1691>\
**Category:** squidpy\
**Created:** [August 17, 2023, 8:27pm UTC](https://discourse.scverse.org/t/ligand-receptor-analysis-within-squidpy/1691 "2023-08-17T20:27:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hiraksarkar](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/hiraksarkar/32/36_2.png) [@hiraksarkar](https://discourse.scverse.org/u/hiraksarkar)\
**Post date:** [August 17, 2023, 8:27pm UTC](https://discourse.scverse.org/t/ligand-receptor-analysis-within-squidpy/1691/1 "2023-08-17T20:27:37Z")

</div>

Hi All,

While working with squidpy recently and encountered for “complex” genes (two genes appended with an underscore between) by default squidpy is keeping the lowly expressed gene among the complex. Is there a reason behind such a filtering?

Relevant code here

> <https://github.com/scverse/squidpy/blob/main/src/squidpy/gr/_ligrec.py#L512>
