microbiome / miaViz

Microbiome Analysis Plotting and Visualization
https://microbiome.github.io/miaViz
Artistic License 2.0
10 stars 12 forks source link

plotLoadings, absolute scale #152

Closed TuomasBorman closed 1 month ago

TuomasBorman commented 1 month ago

Now loadings can be visualized with barplot also in absolute scale. That is the default choice.

The reason is that original scale takes too much space since values can be negative and positive. Moreover, the effect size cannot be easily compared between positive and negative values (that is the most important info)

image

In absolute scale, there the comparison is easier. +/- shows whether the value is positive or negative

image

antagomir commented 1 month ago

How about distinguishing the positive vs. negative with a color instead?

TuomasBorman commented 1 month ago

With colors, it seems to be easier to see +/-

image

antagomir commented 1 month ago

Yes. You also sometimes see this done so in literatures.

Just thinking if the default should be lines instead of bars ("lolliplot plot")?