Skip to content
Prev 369833 / 398503 Next

point size

You could add size = log10_P to the aes() inside geom_point().
Untested code below.
See also http://ggplot2.tidyverse.org/reference/geom_point.html

ggplot(mydata,  aes(x = X,  y = log10_P)) +
  theme_bw() +
  theme(panel.border=element_blank(), legend.position="top",
 axis.text=element_text(size = 8)) +
  geom_point(aes(color = Traits, size = log10_P))

Jean
On Fri, Jun 16, 2017 at 9:33 AM, greg holly <mak.hholly at gmail.com> wrote: