When I try to view a taxa summary result from the qiime gneiss balance-taxonomy command the balance vs metadata category boxplot does not appear for a metadata category with three different levels. The boxplots show up for metadata categories with only two levels. I followed the same protocol to produce a taxa summary (i.e. y0_taxa_summary.qsv) for two different metadata categories, one with two levels and one with three levels. How can I view the boxplot for the metadata category with three levels? I tried opening the visualization on qiime view and in qiime studio and neither produce a boxplot.
This might be the problem @rlm spoke of. The metadata category: 'Patient' consists of five separate groups (AH, CR, DD, PS, ZC), while the metadata category 'Group' consists of two separate groups (AE or Rem).
Box and proportion plots are not generated when 'Patient' is specified, while they are generated when 'Group' is specified.
I am led to believe that differentially abundant OTUs or SV's can only be calculated using two groups. Therefore, box and proportion plots would not be generated when there are more than two groups. I suspect for the dataset above, I would need to compare two patients at a time, rather than five. But I am likely wrong? From this post, more than two groups are in the boxplot: Balance interpretation confusion
Hopefully, this information can clear up the problem.
Right, the proportion plots will not show up if the metadata-category has more than 2 different groups.
However, the boxplots should always be generated if the metadata / metadata-category is specified correctly, even if there are more than 2 groups. The only time that this isn't displayed is if the metadata file wasn't found, or if the metadata category is incorrect.
Could you post the metadata-file just to sanity check this?
Yes. This is the same problem I identified. I do remember visualizing boxplots with more than two groups in the past. Maybe the option was disabled in a recent update?
Ok. Found the problem. Looks like there is a bug that where the plot isn't being saved if there are multiple categories. This was introduced when incorporating proportions plots.
Just raised an issue here and am pushing a bug fix in a few minutes.