map - How to put black borders in heatmap in R -


hi created heatmap in r using "heatmap.plus" shown in link

http://i.stack.imgur.com/hizbf.jpg

but need heat map heatmap shown in below link created other gui software

http://i.stack.imgur.com/y8faj.png

how can put black borders in every heatmap element in r

if follow tutorial learn r blog , change color in paragraph black, get:

(p <- ggplot(nba.m, aes(variable, name)) +     geom_tile(aes(fill = rescale), colour = "black") +     scale_fill_gradient(low = "white",high = "steelblue")) 

enter image description here


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -