Difference between heatmap and clustermap

14 ビュー (過去 30 日間)
Amina Shabbeer
Amina Shabbeer 2011 年 8 月 29 日
Hello,
I am trying to generate a heatmap for gene expression data in the matrix "foldchange". I notice that heatmap(log2(foldchange)) produces a heatmap which looks mostly black.
But when I use clustermap on the same data, I get a heatmap (with dendogram) where the colors are either mostly green/red. I don't understand why the two images are different when both heatmap and clustermap functions generate a heatmap. Does clustermap scale the data differently?
Thanks, Amina

回答 (1 件)

Lucio Cetto
Lucio Cetto 2011 年 10 月 18 日
clustergram automatically standarizes the data in order to maximize the usage of the colormap. You may also alter the dynamic range of the HeatMap by using the DisplayRange and Symmetric properties.

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by