Hi, I have expression of genes in two different groups of patients, I want to do pathway analysis and know which processes are effected by my genes, I know about enrichr, kegg, reactome and so on. I don't know if I am allowed to share this figure, but I want a figure like this! I searched a lot for it but couldn't find how to draw this chart. Thanks
The figure you linked to is just a set of horizontal bar charts. Just plot your counts in each pathway as a bar plot in R using the barplot() function with the horiz = TRUE option. Colour as you need with e.g. col = c("red", "blue").
This post might be also useful to you,