Prezados,Estou formatando um heatmap utilizando o ggplo2 e preciso colocar a letra ômega, na sua forma grega e em maiúsculo na legenda. Já tentei várias coisas - encontradas na internet - com o argumento "name", mas sem sucesso.
Segue o script (adaptado de outro script que encontrei no R bloggers). O "AHM" são meus dados, que acredito nãos erem necessários nesse caso.
#===library(ggplot2)ggheatmap2 <- ggplot(MHM, aes(Var1, Var2, fill = value))+geom_tile(color = "white")+scale_fill_gradient2(low = "white", high = "gray69", mid = "white",space = "Lab",name="Grand Mean") +#theme_minimal()+ # minimal themetheme(legend.title = element_text(size = 12),legend.text=element_text(size=12))+ theme(axis.text.x = element_text(angle = 360, vjust = 1,size = 12, hjust = 1))+theme(axis.text.y = element_text(angle = 360, vjust = 1,size = 12, hjust = 1))+coord_fixed()# Print the heatmapprint(ggheatmap2)#===
Agradeço qualquer ajuda desde logo,Rodrigo--=8-->=8-->=8-->=8-->=8-->=8-->=8-->=8-->=8-->=8-->=8-->=8--> =8-->=8--> http://www.unifesp.br/campus/san7/
Email: rodrigo.plei@gmail.com ; ocersm@lycos.com; rsmartins@usp.br; rsmartins@unifesp.br
CV Lattes: http://lattes.cnpq.br/5350064124902777
Google Scholar: http://scholar.google.com.br/citations?user=zX_EezEAAAAJ& hl=pt-BR Research Gate: https://www.researchgate.net/profile/ Rodrigo_Martins6/
_______________________________________________
R-br mailing list
R-br@listas.c3sl.ufpr.br
https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br
Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia ) e forneça código mínimo reproduzível.