special heatmap

Plot heatmaps of various shapes, triangular heatmaps, and add Mantel test links, dendrograms and significance labels.

https://github.com/slandarer/MATLAB-special-heatmap

您现在正在关注此提交

1 Basic use (基础使用)
1.1 Draw positive heatmap (非负矩阵)
figure()
Data = rand(15, 15);
SHM1 = SHeatmap(Data, 'Format', 'sq');
SHM1.draw();
1.2 Contains negative numbers (绘制有负数热图)
figure()
Data = rand(15, 15) - .5;
SHM2 = SHeatmap(Data, 'Format','sq');
SHM2.draw();
1.6 绘制有文本热图(Draw heat map with texts)
使用 setText() 方法显示文字:
Use the setText() method to display text:
figure()
Data=rand(12,12)-.5;
Data([4,5,13])=nan;
SHM7=SHeatmap(Data,'Format','sq');
SHM7=SHM7.draw();
SHM7.setText();
2 Various Format of heatmaps (各类型热图绘制)
  • 'sq' : square (default) : 方形(默认)
  • 'pie' : pie chart : 饼图
  • 'donut' :donut chart : 环形饼图(甜甜圈图)
  • 'circ' : circular : 圆形
  • 'bcirc' : circle with box : 有边框的圆形
  • 'oval' : oval : 椭圆形
  • 'hex' : hexagon :六边形
  • 'star' : star : 五角星
  • 'trill'(tril) : lower left triangle : 下三角
  • 'triur'(triu) : upper right triangle : 上三角
  • 'trilr' : lower right triangle : 右下三角
  • 'triul' : upper left triangle : 左上三角
  • 'asq' : auto-size square :自带调整大小的方形
  • 'acirc' : auto-size circular :自带调整大小的圆形
More Demos can be seen in README.xls

引用格式

Zhaoxu Liu / slandarer (2026). special heatmap (https://github.com/slandarer/MATLAB-special-heatmap), GitHub. 检索时间: .

Zhaoxu Liu / slandarer (2025). special heatmap (https://www.mathworks.com/matlabcentral/fileexchange/125520-special-heatmap), MATLAB Central File Exchange.

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明 Action
4.0.2

Change images

4.0.1

Revise the summary

4.0.0

Supporting Heatmap with Mantel test links

3.1.3

Default Branch

3.1.2

See release notes for this release on GitHub: https://github.com/slandarer/matlab-special-heatmap/releases/tag/v3.1.2

3.1.0

See release notes for this release on GitHub: https://github.com/slandarer/matlab-special-heatmap/releases/tag/v3.1.0

3.0.4

Comment update.

3.0.3

Comment Update

3.0.2

Fixed a bug where the 'Color' property of class 'matlab.graphics.layout.TiledChartLayout' was not recognized.

3.0.1

Improve the readme file

3.0.0

+ 更多形状(More shapes)
+ 使用不同colormap(Draw heat maps with two colormaps)
+ 显示显著性(Displaying significance)

2.1.1

support setting text format

2.1.0

More Description

2.0.0

可设置为上三角或下三角(Set to upper triangle or lower triangle)
增添较多示例(Give more demos)
+ 设置为上三角或下三角(Set to upper triangle or lower triangle)
+ 合并两个三角热图(Merge two triangle heat maps)
+ 带树状图热图(Heatmap with dendrogram)
+ 带分组热图(Grouping heat map)
+ ... ...

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 存储库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 存储库