Maaslin3 summary plot

I have conducted subset analysis for 2 groups, Group A and Group B. For each group, there are 3 timepoints, W1, W4 and W8.

The analysis ran well, but I have issue with the summary plots.

For Group A, the order of the summary plot is W8 followed by W4. However, for Group B, the order is W4 followed by W8.

I have tried the following:

  1. re-ran the analysis by setting “factor” for Week category
  2. changed the full_metadata_name from the data extracted from the RDS object
  3. set the factor for the all_results.tsv and rerun using maaslin_plot_results_from_output

However, all failed. Any advice is appreciated? Thank you.

Hi

If you look at coef_plot_vars and heatmap_vars in ?maaslin3::maaslin3, do those do what you want?

Will