ClusterGVis
ClusterGVis copied to clipboard
非模式生物用Eggnog自构注释文件使用enrichCluster报错
您好,非常感谢作者的软件。 我使用broccoli的蛋白序列在Eggnog自构注释文件,然后使用AnnotationForge构建Org.My.eg.db。
AnnotationForge::makeOrgPackage(gene_info=gene_info, go=gene2go, maintainer='ZWJ', author='ZWJ', outputDir = "./", tax_id = 0000, genus = 'M', species = 'y', goTable = 'go', version = '1.0')
但用此使用enrichCluster一直出现报错:
enrich<- enrichCluster(object = ck, OrgDb= org.My.eg.db, fromType = 'GID', toType = 'GID', type= "BP", pvalueCutoff= 0.05, topn= 5, seed = 5201314) 'select()' returned 1:1 mapping between keys and columns Error in
map(): ℹ In index: 1. Caused by error in[.data.frame: ! 选择了未定义的列 Runrlang::last_trace()to see where the error occurred.
详细报错信息如下
rlang::last_trace() <error/purrr_error_indexed> Error in
map(): ℹ In index: 1. Caused by error in[.data.frame: ! 选择了未定义的列
Backtrace: ▆
- └─ClusterGVis::enrichCluster(...)
- └─purrr::map_df(...)
-
└─purrr::map(.x, .f, ...) -
└─purrr:::map_("list", .x, .f, ..., .progress = .progress) -
├─purrr:::with_indexed_errors(...) -
│ └─base::withCallingHandlers(...) -
├─purrr:::call_with_cleanup(...) -
└─ClusterGVis (local) .f(.x[[i]], ...) -
└─clusterProfiler::bitr(...) -
├─base::which(is.na(res[, 2])) -
├─res[, 2] -
└─base::`[.data.frame`(res, , 2) -
└─base::stop("undefined columns selected")
求解释。。。求解决。。。各种求。。。
我也是这个问题,求解决求解决
你可以自己用clusterprofiler做富集,然后准备结果给viscluster绘图也是一样的
亲,你现在解决了吗?
J @.***
------------------ 原始邮件 ------------------ 发件人: "junjunlab/ClusterGVis" @.>; 发送时间: 2023年12月25日(星期一) 晚上11:25 @.>; @.@.>; 主题: Re: [junjunlab/ClusterGVis] 非模式生物用Eggnog自构注释文件使用enrichCluster报错 (Issue #60)
我也是这个问题,求解决求解决
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
求问解决了吗!我也是这个问题