I have a bar plot showing cell counts (in exponential) versus treatment. The code I use gives me an output scale from 0 till 10^7 but eating up everything below 10^7. I would like to have a custom scale ranging from 10^6 to 10^9 with breaks at 10^6, 10^7, 10^8, 10^9.
I have tried using setting the limits and breaks using scale_y_continous but that didn't help. My code is as follows:
ggplot(data = Zerohourdata) +
geom_col(mapping = aes(x = AB.Treatment, y = cfumilli)) +
facet_wrap( ~ Plate.ID) +
scale_y_continuous(limits = c(10^6, 10^8), breaks = c(10^6, 10^7, 10^8))
Help?