Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个只有 1 列但超过 5000 行的数据集。
当我尝试运行 heatmap(data) 命令时,我看到一条错误消息,提示“x”必须至少有 2 行和 2 列。
有没有办法告诉热图绘制单列热图?
谢谢
您可以?image改用(没有树状图/聚类等):
?image
m <- matrix(rnorm(100), nrow=100, ncol=1) image(m)