cluster profile 功能富集报错了**

R使用cluster profile进行功能富集小白踩坑

在go富集结束后,使用emapplot功能画图,报错

运行:p2 = emapplot(go_enrich,cex_category = 0.8,layout = 'kk')

报错:Error in has_pairsim(x) :  Term similarity matrix not available. Please use pairwise_termsim function to deal with the results of enrichment analysis.

报错

需要使用pairwise_termsim处理下富集的结果:

处理如下:

library(enrichplot)

ego_CC2 <- pairwise_termsim(ego_CC)

emapplot(ego_CC2)

解决过程

主要参考大佬生信记录

让你的基因有名字 | 生信菜鸟团 (bio-info-trainee.com)

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容