Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R封装上的热图_R_Heatmap - Fatal编程技术网

R封装上的热图

R封装上的热图,r,heatmap,R,Heatmap,我是帕多瓦大学统计硕士的学生。我正在完成关于飞镖模型的论文。我有个速度问题,谁能帮我? 使用此软件包,您可以估计飞镖投掷的差异,以获得最大的分数 >library(darts) >e = simpleExpScores(s=25^2) >drawHeatmap(e) 热图很棒!但我没有传说!! 你知道把传说放在热图附近吗 这是我的问题,如果有人有5分钟可以帮助我 谢谢, 马可图书馆(RColorBrewer) 图书馆(gplots) 麦可尔 library(RColorB

我是帕多瓦大学统计硕士的学生。我正在完成关于飞镖模型的论文。我有个速度问题,谁能帮我? 使用此软件包,您可以估计飞镖投掷的差异,以获得最大的分数

>library(darts)
>e = simpleExpScores(s=25^2)
>drawHeatmap(e)
热图很棒!但我没有传说!! 你知道把传说放在热图附近吗

这是我的问题,如果有人有5分钟可以帮助我

谢谢, 马可图书馆(RColorBrewer) 图书馆(gplots) 麦可尔
  library(RColorBrewer)
  library(gplots)
  myCol <- c("red", "yellow", "white")
  ## Defining breaks for the color scale
  myBreaks <- c(0, .5, 1, 1.5 )

  hm <- heatmap.2(e, scale="none", Rowv=NA, Colv=NA,
                  col = myCol, ## using your colors
                  breaks = myBreaks, ## using your breaks
                  dendrogram = "none",  ## to suppress warnings
                margins=c(5,5), cexRow=0.5, cexCol=1.0, key=TRUE, keysize=1.5,
                trace="none")