该问题已被锁定!
4
关注
2719
浏览

用R画RNA_seq中变化显著的heatmap聚类热图

查看全部 3 个回答

孟浩巍 超级管理员 用户来自于: 北京市
2018-08-24 13:37
我画heatmap更喜欢用pheatmap这个函数。 [code]ph = pheatmap(your_mat,cluster_cols = F, cluster_rows = T)[/code]上面的代码就是对列不聚类,对行聚类,并把结果保存到了ph变量里。 同时,在ph里面可以使用下面的代码查看你的原始矩阵行的聚类结果 [code]# 聚类结果 ph$tree_row # 每一行的排序结果 ph$tree_row$order[/code]

关于作者

问题动态

发布时间
2018-08-24 12:19
更新时间
2018-08-24 23:19
关注人数
4 人关注

推荐内容

bowtie2使用报错,求助啦
关于ggplot2画条图的问题
ggplot绘图同时存在多个scale_fill_mamual
WGCNA中的TOM热图绘制
Rstudio安装R包时,出现unable to move temporary installation
科研/读博
Closed Reference,Open Reference,Denovo聚类分析的联系和区别?
linux系统中使用fastqc报错
All Rights Reserved Powered BY WeCenter V4.1.0 © 2025