Initially I asked a question 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?
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
How do I want the dotplot look like (Edited image)
Best regards, Leite