heatmap--基于R

回复:0 | 查看:466 | admin 发表于 2018-3-2 11:21:38 |阅读模式 |复制链接
[color=rgb(147, 161, 161) !important]# The mtcars dataset:
[color=rgb(38, 139, 210) !important]data[color=rgb(133, 153, 0) !important]=[color=rgb(133, 153, 0) !important]as[color=rgb(220, 50, 47) !important].[color=rgb(131, 148, 150) !important]matrix[color=rgb(220, 50, 47) !important]([color=rgb(38, 139, 210) !important]mtcars[color=rgb(220, 50, 47) !important])
[color=rgb(131, 148, 150) !important]head[color=rgb(220, 50, 47) !important]([color=rgb(38, 139, 210) !important]data[color=rgb(220, 50, 47) !important])

timg (3).jpg
timg (4).jpg
This page is dedicated to the heatmap() native function of R. A heatmap is a table of numbers, where you substitute the numbers with colored cells. There are other ways to draw heatmap and a section of the gallery is dedicated to it! Concerning the input data format, you need to have a numeric matrix. Let’s have a look to the mtcar dataset provided by R that we will use in the following tutorial.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表