Displaying 1 result from an estimated 1 matches for "no_bmi_fi_beta".
2017 Aug 04
1
legend and values do not match in ggplot
I have following codes for ggplots. The legends are given in the plot do
not match with the values specified in the codes given below. Your helps
highly appreciated.
Greg
library(ggplot2)
p <- ggplot(a,aes(x=NO_BMI_FI_beta ,y=FI_beta ,color= Super.Pathway))+
theme_bw() +theme(panel.border=element_blank()) +
geom_point(size=3)
p2<-p+scale_color_manual(name="Super.Pathway",
labels=c("Amino Acid", "Cofactors and Vitamins", "Carbohydrate", "Energy",
"Lipid&quo...