Dotplot for merged group of genes


I was wondering how I could make a dot plot where instead of showing single genes on the x axis, I could show groups of merged genes (i.e. markers for a cell type merged as 1 list) as individual x ticks, and their average expression in each cluster?
Something like in this diagram: