# Reg negative and positive TF activity values

**URL:** https://discourse.scverse.org/t/reg-negative-and-positive-tf-activity-values/3504
**Category:** scanpy
**Created:** [February 24, 2025, 5:00am UTC](https://discourse.scverse.org/t/reg-negative-and-positive-tf-activity-values/3504 "2025-02-24T05:00:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dub2s](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/dub2s/32/361_2.png) [@dub2s](https://discourse.scverse.org/u/dub2s)
#### Post date: [February 24, 2025, 5:00am UTC](https://discourse.scverse.org/t/reg-negative-and-positive-tf-activity-values/3504/1 "2025-02-24T05:00:45Z")

</div>

Hii,

I was playing around with decoupler-py to infer TF activities in a pseudobulk’d scRNA-seq data. In the data, I have different cell-types and two conditions. I wanted to identify TFs with differential activity between the two conditions for each cell type. I figured that some TFs have negative value in one condition and positive value in other condition. In such a case, I cannot calculate log2(FoldChange).

1. How should I interpret negative and positive TF activity values?
2. There was a suggestion to re-scale the TF activity data (either by addition or MinMax Scaler) so that log2(FoldChange) can be calculated. Is it a legitimate way of processing the TF activity data?
3. Is there a workaround this log2(FoldChange) issue without transforming the data in any way?

Thanks,
