title: log ticks on the outer side of axes (annotation_logticks)
body: <p>I would like the logticks to look a bit like the figure at the bottom of this page: <a href="http://www.cyto.purdue.edu/archive/flowcyt/research/cytotech/apopto/data/chap16.htm" rel="nofollow noreferrer">http://www.cyto.purdue.edu/archive/flowcyt/research/cytotech/apopto/data/chap16.htm</a></p>
  
  <p>I am using the ggcyto package (<a href="https://github.com/RGLab/ggcyto" rel="nofollow noreferrer">https://github.com/RGLab/ggcyto</a>) for this, which in turn uses ggplot2.</p>
  
  <p>But adding annotation_logticks() gives ticks on the inside of the x and y axes (see attachment), whereas I think it looks better with the ticks on the outside. Is there any way to do this? I couldn't find the answer in the documentation but maybe I am not looking in the right place? <a href="https://i.stack.imgur.com/A6gOl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A6gOl.png" alt="enter image description here"></a></p>
  
  <p>(This is flow cytometry data, which I load into R using Bioconductor packages, and plot using ggcyto. I make the plot using this code, and I am not sure how I can make a MWE with flow cytometry data, but if you think that is relevant, I have posted the data and all the code to generate the plot here for an unrelated issue: <a href="https://github.com/RGLab/ggcyto/issues/13" rel="nofollow noreferrer">https://github.com/RGLab/ggcyto/issues/13</a> )</p>
  
  <pre><code>ggcyto(gated.selected, aes(x = `PI-A`, y = `BV421-A`)) +
    geom_hex(bins = 200) +
    geom_gate(qg.names) + 
    labs(x = "PI", y = "Annexin V") + 
    geom_stats() +
    annotation_logticks()
  </code></pre>
  
  <p>Edit: after trying the link in Henrik's comment:</p>
  
  <pre><code>p &lt;- ggcyto(gated.gs[1], aes(x = `PI-A`, y = `BV421-A`)) +
    geom_hex(bins = 200) +
    geom_gate(qg.names) +
    labs(x = "PI", y = "Annexin V") +
    geom_stats() +
    annotation_logticks(short = unit(-0.1, "cm"), mid = unit(-0.2, "cm"), long = unit(-0.3, "cm"))
  
  p.build.gtable &lt;- ggplot_gtable(ggplot_build(p))
  p.build.gtable$layout$clip
  p.build.gtable$layout$clip &lt;- c("on", "off", "off", "off", "off", "off", "off", "off", "off")
  grid.draw(p.build.gtable)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/qFagK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qFagK.png" alt="enter image description here"></a></p>