科学网

 找回密码
  注册
R语言中对heatmap中的特定cell进行标记
康斌 2016-10-28 22:18
如何对heatmap中的特定cell进行突出显示或标记?Google后在 http://stackoverflow.com/questions/7978533/highlight-cells-in-heatmap网址得到以下方法: set.seed(310366) nx=5 ny=6 SOI=matrix(rnorm(nx*ny,100,50),nx,ny) colnames(SOI)=paste(NAP_G0,sort(as.integer(runif(ny,10,99))),sep=) rown ...
个人分类: R|3103 次阅读|没有评论
R语言做heatmap的坐标问题
康斌 2016-10-28 21:51
这两天用R做heatmap,完成heatmap后需要在图中的特定cell中做标记,GOOGLE后在http://stackoverflow.com/questions/7978533/highlight-cells-in-heatmap得到下面这个解决方案: set.seed(310366) nx=5 ny=6 SOI=matrix(rnorm(nx*ny,100,50),nx,ny) colnames(SOI)=paste(NAP_G0,sort(as.integer(runif(ny,10,99) ...
4544 次阅读|没有评论

本页有 4 篇博文因作者的隐私设置或未通过审核而隐藏

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-3-29 23:58

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部