The bioBakery help forum

Formula in MaAsLin2 heatmap output

Hey, thank you for this tool. It is very convenient to use
Recently I redraw a heatmap from Maaslin2 output in python and used a formula as in the code to get values:
−log(qval)*sign(coeff)
I like very much the implementation of this visualization.
I am not a statistician and wondering if I can use the same formula in other analysis.
For example, I performed multiple spearman correlations on some data, and got a list of p-values. Can I adjust p-values by Benjamini & Hochberg procedure to get q-values, and then apply the same formula and create a heatmap, or this formula is specific for the analysis in Maaslin2?
I already run it and got values in range from -13 to +13. Or it is not advisable to do it like this? :thinking: