Hi, can somebody help me with this error?
library(ggplot2)
setwd('d:/Aidaf/Enrichr/BP')
BP=read.delim('BP.TXT')
BP1=ggplot(BP, aes(x=RF , y=Term)) +geom_point(aes(colours=P-value , size=Genes)) +scale_colour_gradientn(colours=rainbow(5)) +labs(x='Rich Factor' , y=NULL , colour='P-value' , size='Genes')+
theme(axis.title=element_text(face='bold') , axis.text = element_text(face='bold'))
pdf("BP.pdf") ; BP1;dev.off()
Error in geom_point()
:
! Problem while computing aesthetics.
Error occurred in the 1st layer.
Caused by error in FUN()
: