无法使用biomaRt软件包从Entrez ID中获取基因符号 [英] Unable to use biomaRt package to get Gene Symbols from Entrez IDs

查看:121
本文介绍了无法使用biomaRt软件包从Entrez ID中获取基因符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用以下代码从Entrez ID中检索基因符号:

I am using the following code to retrieve Gene Symbols from Entrez IDs:

library("biomaRt")
ensembl <- useMart("ENSEMBL_MART_ENSEMBL", dataset = "hsapiens_gene_ensembl", host = "www.ensembl.org")

g <- getBM(c("hgnc_symbol"), filters = "entrezgene", c(entrez), ensembl)

但出现以下错误:

Error in value[[3L]](cond): Request to BioMart web service failed. Verify if you are still connected to the internet.  Alternatively the BioMart web service is temporarily down.
Traceback:

1. getBM(c("hgnc_symbol"), filters = "entrezgene", c(entrez), ensembl)
2. tryCatch(postForm(paste(martHost(mart), "?", sep = ""), query = xmlQuery), 
 .     error = function(e) {
 .         stop("Request to BioMart web service failed. Verify if you are still connected to the internet.  Alternatively the BioMart web service is temporarily down.")
 .     })
3. tryCatchList(expr, classes, parentenv, handlers)
4. tryCatchOne(expr, names, parentenv, handlers[[1L]])
5. value[[3L]](cond)
6. stop("Request to BioMart web service failed. Verify if you are still connected to the internet.  Alternatively the BioMart web service is temporarily down.")

推荐答案

打开 Internet Explorer ,转到 集合 功能.

Open Internet Explorer, go to the website used in the host parameter of your ensembl function.

然后转到设置"标签,并将其添加到"<受信任的网站" 列表中.

Then go to the settings tab, and add it to your Trusted Websites list.

这为我解决了问题.

希望它也对您有帮助.

这篇关于无法使用biomaRt软件包从Entrez ID中获取基因符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆