Wilcoxon Rank-Sum test bar plot


I am hoping for some assistance in my data visualization through R. I am new and still learning.

I have used QIIME2 to process my raw samples, but have assigned taxonomy via R and created a phyloseq object.

In my project i have 50 patients, 8 of whom have developed an infection. I am looking to establish whether there is a difference in either group.

I have been able to generate relative abundance plots (both bar and boxplots) at different taxonomic levels.

I am interested in generating two plots, one which shows the relative abundance bar plot comparing the infection vs control group. The second a forrest plot showing the difference between the two groups.

An example:


by Zhang, Z., Zheng, Y., Han, P. et al. N-acyl-homoserine lactones (AHLs) in intertidal marsh: diversity and potential role in nitrogen cycling. Plant Soil 454, 103–119 (2020). https://doi.org/10.1007/s11104-020-04630-0

Any help would be greatly appreciated.


1 Like