da-barplot feature request

Hello,

I have installed the amplicon-2025.10 release and looked into the q2-composition plugin to see whether a interface change in the da-barplot methods made it to the new release :slight_smile:

From coming up next in 2025.4:

  • The ancombc2-visualizer action will be removed, in favor of da-barplot.
  • da-barplot will be updated to produce the visualization now produced by ancombc2-visualizer, and it will be updated to accept results of ancombc and ancombc2 as inputs.

I tested the 2025.10 da-barplot with my data and got this warning:

/home/NAME/miniconda3/envs/qiime2-amplicon-2025.10/lib/python3.10/site-packages/unifrac/init.py:9: UserWarning: pkg_resources is deprecated as an API. See Package Discovery and Resource Access using pkg_resources - setuptools 80.9.0 documentation . The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources

I assume that this is unrelated to da-barplot since the output visualization is created and it is in the old layout. I assume that a da-barplot update has not made into the 2025.10 release.

This gives me the chance to ask for a minor improvement in an updated da-barplot plugin/method. Since the ancombc2-visualizer features will go into the update (as stated above), may I suggest to expand the subset features options in a way that lfc (log fold changes) can be filtered in both directions at the same time (e.g. lfc greater than 2 OR lfc less than -2) either be allowing an OR operator or by allowing the absolute value (lfc greater than |2|).

Best regards,

4 Likes