在Heatmap.2中调整和调整热图的大小 [英] resize and adjust the heatmap in heatmap.2

查看:1235
本文介绍了在Heatmap.2中调整和调整热图的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经生成了一个热图,如下所示:

I've generated a heatmap like this:

X轴和Y轴标签未完全显示. 我的代码在这里:

The X-axis and Y-axis labels don't show completely. My code is here:

 heatmap.2(x,col=blueyelred,colsep=c(1:6),rowsep=(1:62), 
           sepwidth=c(0.05,0.05), sepcolor="white", trace="none",
           Rowv=F,Colv=F, scale="none", dendrogram="none",key=F, 
           lhei = c(0.05,5),margins=c(1,8))

有什么方法可以调整它.

Is there any way to adjust it.

谢谢! 凸轮

推荐答案

一些提示:

  • 为减小字体大小,请使用cexRowcexCol自变量,例如

heatmap.2(x, ...., cexRow=0.5)

  • 调整hleimargins参数中的值.

  • Adjust the values in the hlei and margins arguments.

    这篇关于在Heatmap.2中调整和调整热图的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆