title: Is it possible to have a combination of whole and decimal numbers on the y axis in ggplot2?
body: <p>Is it possible to remove the unnecessary decimal places which are being displayed using ggplot2? Below is the section of code that I am currently using. I need the exact breaks included as I have some very low values. I have also included a crude example of what is displayed in the figure which I generated for the purpose of this question so please ignore all other aspects of it!</p>
  
  <pre><code>scale_y_sqrt(expand = c(0, 0), limits = c(0, ),
               breaks = c(0, 0.01, 0.025, 0.05, 0.1, 0.25,
                          0.5, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10))
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/HAmxv.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HAmxv.jpg" alt="enter image description here"></a></p>