[R] point size

greg holly mak.hholly at gmail.com
Fri Jun 16 16:33:20 CEST 2017


Hi all;

I am running the following ggplot codes. Runs well. However, I need to
reflect the numeric values of the log10_P to the point size in the graph.

Your help highly appreciated,

Regards,
Greg


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

	[[alternative HTML version deleted]]



More information about the R-help mailing list