Entering edit mode
I've been using plotGrandLinear, unfortunately I have a lot of empty space between the y-axis and the first chromosome. Normally I would use scale_x_(expand=c(0,0)) but that doesn't work, I think it's because the plot is some kind of facet plot? Anyway, is there any way of mimicking expand=c(0,0) inside of plotGrandLinear?
plotGrandLinear(mini,aes(y=Z_FST),cutoff=5,cutoff.color="black",cutoff.size=0.2,color=a[c(1,4)],highlight.gr=o5,highlight.col="orange",ylab=expression(Z(F["ST"])),spaceline=TRUE)+ scale_y_continuous(expand=c(0,0)) + theme_bw(base_size = 22) +
theme(
plot.title = element_text(hjust = 0.5),
legend.position="none",
legend.text=element_text(size=6),
legend.title=element_text(size=8),
panel.border = element_blank(),
panel.grid.major.x = element_blank(),
panel.grid.minor.x = element_blank(),
)