Browse Source

Cambiar color a blanco.

main
Costa 2 years ago
parent
commit
2cd480bfd0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      R/ggcorrplot.R

+ 1
- 1
R/ggcorrplot.R

@ -20,7 +20,7 @@ ggcorrplot<-function(df, var, color="#FFFFFF00", stat="signif"){
scale_x_discrete(limits=order$x)+ scale_x_discrete(limits=order$x)+
scale_y_discrete(limits=order$y)+ scale_y_discrete(limits=order$y)+
geom_tile(aes(fill=Value), color=color)+ geom_tile(aes(fill=Value), color=color)+
geom_text(data=df.pval, aes(label=Value))+
geom_text(data=df.pval, aes(label=Value), color="white")+
scale_fill_gradientn(colors=col2(200))+ scale_fill_gradientn(colors=col2(200))+
theme(axis.text.x = element_text(angle = 90, hjust = 1, vjust=0.5), theme(axis.text.x = element_text(angle = 90, hjust = 1, vjust=0.5),
panel.background = element_blank(), panel.background = element_blank(),

Loading…
Cancel
Save