# Recommanded parameters when using Maaslin2 for Metabolomic data

**URL:** <https://forum.biobakery.org/t/recommanded-parameters-when-using-maaslin2-for-metabolomic-data/2597>\
**Category:** MaAsLin\
**Created:** [September 17, 2021, 7:04am UTC](https://forum.biobakery.org/t/recommanded-parameters-when-using-maaslin2-for-metabolomic-data/2597 "2021-09-17T07:04:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NicolasB](https://avatars.discourse-cdn.com/v4/letter/n/d78d45/32.png) [@NicolasB](https://forum.biobakery.org/u/NicolasB)\
**Post date:** [September 17, 2021, 7:04am UTC](https://forum.biobakery.org/t/recommanded-parameters-when-using-maaslin2-for-metabolomic-data/2597/1 "2021-09-17T07:04:42Z")

</div>

Hello,

Do you have any insights regarding the parameters to use when running Maaslin2 for Metabolomic data ?

Thank you again for your help!

Best,

Nicolas

---

<div class="post-metadata">

**Author:** ![himel.mallick](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/himel.mallick/32/1757_2.png) [@himel.mallick](https://forum.biobakery.org/u/himel.mallick)\
**Post date:** [September 22, 2021, 10:06pm UTC](https://forum.biobakery.org/t/recommanded-parameters-when-using-maaslin2-for-metabolomic-data/2597/2 "2021-09-22T22:06:52Z")

</div>

Hi @NicolasB - we refrain from recommending default parameter values in general due to data-, design-, and platform-specific differences but you can take a look at the iHMP paper ([Multi-omics of the gut microbial ecosystem in inflammatory bowel diseases | Nature](https://www.nature.com/articles/s41586-019-1237-9#Sec7), **Differential microbiome feature abundance** ) for an inspiration where we used a set of _reasonable_ parameter values for various data types including metabolomics. I hope that helps as a starting point?

All the best,  
Himel

---

<div class="post-metadata">

**Author:** ![Fan\_Li](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/fan_li/32/1134_2.png) [@Fan\_Li](https://forum.biobakery.org/u/Fan_Li)\
**Post date:** [November 29, 2021, 6:45pm UTC](https://forum.biobakery.org/t/recommanded-parameters-when-using-maaslin2-for-metabolomic-data/2597/3 "2021-11-29T18:45:36Z")

</div>

We’ve been trying out MaAsLin2 for metabolomics data as well. I’m not an expert on this topic by any means, but what seems to work for us is to use something approximating Z-scores (zero-centered, unit deviation) as input, with `normalization="NONE", transform="NONE", analysis_method="LM"` as parameters.

Per the iHMP paper, a log transform may also be appropriate but not on data that are already normally distributed. From experience with our metabolomics data provider, a log transform applied to what they call “scaled imputed values”, appears to provide approximately normally distributed data.
