title: geom_point points manual scaling
body: <p>I got some data (named result.df) which looks like the following:</p>
  
  <pre><code>    orgaName                  abundance          pVal         score        
       A                        3          9.998622e-01     1.795338e-04
       B                        2          9.999790e-01     1.823428e-05
       C                        1          2.225074e-308    3.076527e+02
       D                        1          3.510957e-01     4.545745e-01
  </code></pre>
  
  <p>and so on...</p>
  
  <p>What I am now plotting is this:</p>
  
  <pre><code>p1 &lt;- ggplot(result.df, aes(log2(abundance), (1-pVal), label=orgaName)) +
     ylab("1 - P-Value")+
     xlab("log2(abundance)")+
     geom_point(aes(size=score))+
     ggtitle(colnames(case.count.matrix)[i])+
     geom_text(data=subset(result.df, pVal &lt; 0.05),hjust=.65, vjust=-1.2,size=2.5)+       
     geom_hline(aes(yintercept=.95), colour="blue", linetype="dashed")+
     theme_classic()
  </code></pre>
  
  <p>Everything works fine and looks rather fine. However, what I would like is to scale the point size introduced through</p>
  
  <pre><code>geom_point(aes(size=score))+
  </code></pre>
  
  <p>to be scaled against fixed values. So the legend should scale in a decadic logarithm but the score should stay the same. Such that low scores nearly disappear and large scores are kind of comparable with respect to their point size between different "result.df".</p>
  
  <p><em>EDIT</em></p>
  
  <p>After checking on the comments of @roman and  @vrajs5 I was able to produce a plot like this <img src="https://i.stack.imgur.com/1q0ce.png" alt="new plot">.
  Using the following code:</p>
  
  <pre><code>   ggplot(result.df, aes(log2(abundance), (1-pVal), label=orgaName)) +
     ylab("1 - P-Value")+
     xlab("log2(abundance)")+
     geom_point(aes(size=score))+
     ggtitle(colnames(case.count.matrix)[i])+    
     #geom_text(data=subset(result.df, pVal &lt; 0.05 &amp; log2(abundance) &gt; xInt),hjust=.65, vjust=-1.2,size=2.5)+
     geom_text(data=subset(result.df, pVal &lt; 0.05),hjust=.65, vjust=-1.2,size=2.5)+
     geom_hline(aes(yintercept=.95), colour="blue", linetype="dashed")+
     #geom_vline(aes(xintercept=xInt), colour="blue", linetype="dashed")+
     #geom_text(data=subset(result.df, pVal &gt; 0.05 &amp; log2(abundance) &gt; xInt),alpha=.5,hjust=.65, vjust=-1.2,size=2)+
     #geom_text(data=subset(result.df, pVal &lt; 0.05 &amp; log2(abundance) &lt; xInt),alpha=.5,hjust=.65, vjust=-1.2,size=2)+
     theme_classic() + 
     scale_size(range=c(2,12),expand=c(2,0),breaks=c(0,1,10,100,1000,1000000),labels=c("&gt;=0","&gt;=1","&gt;=10","&gt;=100","&gt;=1000","&gt;=1000000"),guide="legend")
  </code></pre>
  
  <p>As you can see, the breaks are introduced and labeled as intendet. However the point size in the legend does not reflect the point sizes in the plot. Any idea how to fix this?</p>