Crossed comparison of group prevalences

Proposed by Maxime Prat
barplot
Author

Facundo Muñoz

Published

October 13, 2023

Maxime made a bar plot displaying estimated prevalences of whatever in 12 different groups resulting from the cross-classification of 3 variables with 2, 2 and 3 categories respectively.

In addition, he wished to highlight the \(p\)-values for the significant comparisons across groups.

(a) Vector competence of Culex pipiens pipiens infected with USUV EU2 and EU3 lineages at high and low bloodmeal titer. Mosquitoes were examined for the presence of viral genome detected by RT-qPCR. The infection efficiency (IE) corresponds to the proportion of mosquitoes whose abdomens contain infectious viral particles among infected mosquitoes, the siddemination efficiency (DE) corresponds to the proportion of mosquitoes whose thorax contain infectious viral particles among infected mosquitoes and finally. Prevalence calculates by the generalized linear mix model. Error bars represent the standard error. Only the significant differences estimate by generalized linear mix models are represent on the plot.
Figure 1: Initial figure and caption.

This gives the following basic reformulation of the initial figure that could work well on a journal article.

Figure 2: Reworked figure.

This resulted in the following second version.

Figure 3: Re-Reworked figure.

That is better, but I still had doubts about the legend. It conveys the colour code very well, but the correspondence between the arrangements of the symbols in the figure and in the legend is broken, which still demands some cognitive effort to figure out how to read the plot.

So I abandoned the idea of coding both variables with variations of the base colours and switched to line width instead. I think the result is much more straightforward to read.

Finally, I think the caption should be more descriptive of the elements in the figure, and make it understandable on itself. The original caption is too long, provides information that belong to the text (e.g. detection by RT-qPCR, linear mixed model, vector competence…).

I’m overstepping a bit into the paper, but I’d suggest a simpler figure caption and leave the interpretation in terms of vector competence, the inference method and other details for the main text.

(a) Estimated prevalence (point ± standard error) of USUV by lineage and bloodmeal titer in the abdomen, thorax and heads of infected mosquitoes
Figure 4: Reworked figure and caption.

Before

After

Figure 5: Side to side comparison

Code