r - 如何修复 .Hub 中的错误(“AnnotationHub”,集线器,缓存,代理,localHub,...)
问题描述
我REMP
在 R 中使用包来查找重复元素中的甲基化。我偶然发现了这个函数initREMP
,这给了我错误:
remparcel <- initREMP(arrayType = "EPIC", REtype = "Alu", ncore = 1)
Start Alu annotation data initialization ... (0 sec.)
Illumina platform: EPIC
Error in .Hub("AnnotationHub", hub, cache, proxy, localHub, ...) :
Local database does not exist.
Repeat call with 'localHub=FALSE'
我从 bioconductor 安装了 annotationhub 包并再次尝试了该功能。错误仍然存在。
解决方案
最后我得到了答案。如果您在代理服务器后面工作,getAnnotationHub 函数将无法与 URL 建立连接。因此我们必须使用设置代理
library(AnnotationHub) setAnnotationHubOption("PROXY","https://username:password@proxy:port")
然后尝试
AnnotationHub( hub=getAnnotationHubOption("URL"),
cache=getAnnotationHubOption("CACHE"),
proxy=getAnnotationHubOption("PROXY"),
localHub=FALSE)
推荐阅读
- mysql - 表连接后按另一列分组
- vue.js - 如何在 Vue CDN 中使用 axios 模块化 API
- asp.net - IIS Web URL 通过 http 重定向到子文件夹到 https 不同的端口
- php - 用户退出我的自定义编程 PHP 网站
- bash - 如何从 bash/Linux 中的文件中获取检查数据?
- html - 导航栏未导航到关于页面
- java - Eclipse - 从我的项目中删除一个条目
- ios - 如何更改 WebView 中的字体大小(Swift 5)
- flutter - 列表
不是 Map 的子类型 - 颤振 - memory - 在保护模式下如何更改第一兆字节的内存布局?