获取错误不是由'namespace:DOSE导出的

时间:2018-03-19 19:36:33

标签: r bioinformatics bioconductor

我收到了这两个错误。有人可以快速解决此错误吗?我还安装了最新的软件包,但仍然出现此错误。

library(ReactomePA)
# Error: package or namespace load failed for ‘ReactomePA’:
# object ‘netplot’ is not exported by 'namespace:DOSE'

yy = enrichPathway(gene, pvalueCutoff=0.05)
# Error in enrichPathway(gene, pvalueCutoff = 0.05) :
# could not find function "enrichPathway"

library(clusterProfiler)
# Error: package or namespace load failed for ‘clusterProfiler’:
# object ‘dotplot’ is not exported by 'namespace:DOSE'

1 个答案:

答案 0 :(得分:0)

尝试删除软件包并重新安装:

remove.packages(c("ReactomePA", "clusterProfiler"))

source("https://bioconductor.org/biocLite.R")

biocLite("ReactomePA")
biocLite("clusterProfiler")