# Maaslin relative abundance re-calculation

**URL:** <https://forum.biobakery.org/t/maaslin-relative-abundance-re-calculation/8004>\
**Category:** MaAsLin\
**Created:** [April 15, 2025, 6:32am UTC](https://forum.biobakery.org/t/maaslin-relative-abundance-re-calculation/8004 "2025-04-15T06:32:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdanb](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/mdanb/32/3108_2.png) [@mdanb](https://forum.biobakery.org/u/mdanb)\
**Post date:** [April 15, 2025, 6:32am UTC](https://forum.biobakery.org/t/maaslin-relative-abundance-re-calculation/8004/1 "2025-04-15T06:32:55Z")

</div>

In Maaslin2, I noticed that the code doesn’t re-compute relative abundance after filtering out taxa (or perhaps I’m missing the line of code?). Is this an issue?

---

<div class="post-metadata">

**Author:** ![WillNickols](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/willnickols/32/3223_2.png) [@WillNickols](https://forum.biobakery.org/u/WillNickols)\
**Post date:** [April 15, 2025, 12:34pm UTC](https://forum.biobakery.org/t/maaslin-relative-abundance-re-calculation/8004/2 "2025-04-15T12:34:01Z")

</div>

Relative abundances should be computed [after filtering out taxa](https://github.com/biobakery/Maaslin2/blob/02ba5133bd2077594239c72754bfd3dde658a3bc/R/Maaslin2.R#L863) in MaAsLin 2. Does something you’re doing suggest that’s not correct?
