Dear all,

I want to run ggplot2 in one of my file.
I do this:

mergefile<- read.csv("path of my file/name.csv")

library(ggplot2)   to import my library

ggplot(percent, aes(x=factor(Cell.lines), y=Percentage, vjust=-0.5,
fill=Prostate )) + geom_bar(colour="black", stat="identity",
position=position_dodge(), size=.3)+ylim(0%,100%)+xlab("Prostate cell
lines")+ylab("Percentage of overlapping")+ggtitle("Comparison between
cell lines against the prostate cancer lines from DNase
esperiment")+theme_bw()+theme(axis.text.x=element_text(angle = 90,
vjust = 0.5))

i used this command three times, but now is not working, the error reported
is:

Error: unexpected ')' in "ggplot(percent, aes(x=factor(Cell.lines),
y=Percentage, vjust=-0.5, fill=Prostate )) + geom_bar(colour="black",
stat="identity", position=position_dodge(), size=.3)+ylim(0%,100%)"


Can some one help me? any suggestions?

Thanks a lot!

Best regards, Benedetta

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to