# Accessing the MGX-normalized MTX feature expression data in MTX\_model?

**URL:** <https://forum.biobakery.org/t/accessing-the-mgx-normalized-mtx-feature-expression-data-in-mtx-model/6560>\
**Category:** bioBakery workflows\
**Created:** [January 31, 2024, 10:40pm UTC](https://forum.biobakery.org/t/accessing-the-mgx-normalized-mtx-feature-expression-data-in-mtx-model/6560 "2024-01-31T22:40:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![j.ryou](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@j.ryou](https://forum.biobakery.org/u/j.ryou)\
**Post date:** [January 31, 2024, 10:40pm UTC](https://forum.biobakery.org/t/accessing-the-mgx-normalized-mtx-feature-expression-data-in-mtx-model/6560/1 "2024-01-31T22:40:52Z")

</div>

Hi All,

I am using MTX\_model to analyze microbiome metatranscriptomic (MTX) pathway expression data with paired metagenomic (MGX) pathway data as covariates. Is there a way to access the MGX-normalized MTX feature expression data table?

Any pointers would be greatly appreciated!  
Thank you.

---

<div class="post-metadata">

**Author:** ![YancongZhang](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/yancongzhang/32/1176_2.png) [@YancongZhang](https://forum.biobakery.org/u/YancongZhang)\
**Post date:** [March 5, 2024, 4:40pm UTC](https://forum.biobakery.org/t/accessing-the-mgx-normalized-mtx-feature-expression-data-in-mtx-model/6560/2 "2024-03-05T16:40:18Z")

</div>

Hi there,

To get the MGX-normalized MTX data, you may need to rerun MTX\_model without providing any variates (e.g. set `--fixed_effects “” --random_effects “”`). This process will run a simple linear model with formula: feature(RNA) ~ feature(DNA). The resulting residuals data would represent the MGX-normalized MTX data.

Thanks!  
Yancong
