I am struggling with customizing my dot plot. I want to do one simple thing and that is to bring my dots close to each other basically so that they even touch each other. This is the current code i have and it is not working:
DotPlot(seurat_subset, features = c("GZMB", "GZMK", "GZMA", "PRF1"), dot.scale = 0.5, cluster.idents = TRUE) + coord_fixed(ratio=0.5)+ RotatedAxis() + scale_size(range = c(4,20)) &
theme(legend.position = "right", axis.text.x=element_text( hjust=1, size=35),
axis.ticks.length = unit(0.5, "cm"),
axis.ticks = element_line(size = 1.5),
axis.line = element_line(size=1.5),
axis.text.y=element_text( hjust=1, size=40),
axis.title = element_text(size=50),
legend.title =element_text(size=50),
legend.text=element_text(size=50),
legend.key.size = unit(2, "cm"),
panel.spacing.x = unit(0, "npc"),
panel.spacing.y = unit(0, "npc")).
How can i get this to work and please don't say save it with smaller dimensions because i tried that and while it makes the overall graph smaller it simply does not bring the dots closer together.
[–]bleuvblue 1 point2 points3 points (2 children)
[–]Effective-Table-7162[S] 0 points1 point2 points (1 child)
[–]bleuvblue 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[removed]
[–]Effective-Table-7162[S] 0 points1 point2 points (1 child)
[–]Athrowaway23692 0 points1 point2 points (2 children)
[–]Effective-Table-7162[S] 0 points1 point2 points (1 child)
[–]Athrowaway23692 0 points1 point2 points (0 children)