
Initially I [asked a question][1] of how to make a dotplot from a list of pathways.
I was able to generate the graph, but now I can not make the groups side by side using the pathways of reference.

I do not know if that's how I tabulated my results, or if it's a problem with my code, could anyone help me?

**My data**

<a href="https://imgbb.com/"><img src="https://i.ibb.co/fQ5Z2Mm/my-data.png" alt="my-data" border="0"></a>

**My code**

    data <- read.csv("S3.csv", sep =";", header = TRUE, stringsAsFactors = FALSE)
    library("ggplot2")
    S3<- ggplot(data, aes(x="Groups", y=Pathways, size=DEGs, color=FDR)) + geom_point(alpha = 0.8) + facet_grid(Group ~ .) + theme_classic()
    S3
    S3 = S3+scale_color_gradient(low = "red2",  high = "mediumblue", space = "Lab", limit = c(0.000000000000000000000000000000000000000000000004, 0.03))
    S3+scale_size(range = c(2, 8))
    S3

**My result**

<a href="https://ibb.co/5FnkNLD"><img src="https://i.ibb.co/8cdbW93/result.jpg" alt="result" border="0"></a>

**How do I want the dotplot  look like (Edited image)**

<a href="https://ibb.co/JvDTZmY"><img src="https://i.ibb.co/6HjSQrK/S3.png" alt="S3" border="0"></a>

Best regards,
Leite

  [1]: https://www.biostars.org/p/359307/#360478
You need to just use facet_wrap(Group ~ .) instead of facet_grid