[R] heat maps with qplot
    greg holly 
    mak.hholly at gmail.com
       
    Fri Mar 10 15:45:14 CET 2017
    
    
  
 Hi all;
The followings are my R codes for heat maps in ggplot2. I need to specify
the font size for the y-axis (x-axis works) as well as font size for label
y and x too. Your help highly appreciated.
Thanks,
Greg
qplot(x=Var1, y=Var2, data=melt(cor(a, use="p")), fill=value, geom="tile") +
 scale_fill_gradient2(limits=c(-1, 1))+
 ylab('Super pathways') +
 xlab('Significant Metabolites in Super pathways for DI') +
 theme(axis.text.x = element_text(angle = 90, hjust = 1, size=6))
	[[alternative HTML version deleted]]
    
    
More information about the R-help
mailing list