[R] ggplot problem

greg holly mak.hholly at gmail.com
Tue May 23 23:59:13 CEST 2017


Hi all;

When I run the following program substantially I have "Warning message:
position_dodge requires non-overlapping x intervals"

How I can overcome this problem.

Regards,

Greg

p <- ggplot() + geom_point(data=a, aes(x=Betas, y=Traits, color=
Super.Pathway), shape=15, size=4)

p <- p + guides(color=guide_legend(title=NULL))

p <- p + theme(legend.key = element_blank())

p <- p  + geom_boxplot(data=a,aes(x=Betas,fill=factor(Super.Pathway),y=Traits))
+ guides(fill=FALSE) +scale_x_continuous(breaks = seq(-50, 60, 5))

p

	[[alternative HTML version deleted]]



More information about the R-help mailing list