# Tutorial for filtering controls

**URL:** <https://forum.qiime2.org/t/tutorial-for-filtering-controls/557>\
**Category:** Ideas and Suggestions\
**Created:** [May 4, 2017, 4:53pm UTC](https://forum.qiime2.org/t/tutorial-for-filtering-controls/557 "2017-05-04T16:53:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ebolyen](https://forum.qiime2.org/user_avatar/forum.qiime2.org/ebolyen/32/11_2.png) [@ebolyen](https://forum.qiime2.org/u/ebolyen)\
**Post date:** [May 8, 2017, 6:06pm UTC](https://forum.qiime2.org/t/tutorial-for-filtering-controls/557/4 "2017-05-08T18:06:21Z")

</div>

> [@Mechah](#):
>
> Therefore I would recommend to add the possibility of subtracting feature tables (samples minus controls) and remove only those features which become zero or negative values.

I don't think you could just subtract outright as each sample is going to have a very different total frequency of OTUs. However, I wonder if you would be able to scale the control's counts to a sample's total frequency. It won't be perfect as there'll still be sequences which the control didn't see, but could have, if it had happened to have more sequencing depth, but that's a problem with a qualitative filter anyhow.

@mortonjt does a lot of compositional statistics, he would have a better grasp than I of what could make sense here.

---

_[View the full topic](https://forum.qiime2.org/t/tutorial-for-filtering-controls/557)._
