The query to the BioMart webservice returned an invalid result: biomaRt expected a character string of length 1
2
0
Entering edit mode
@xiaoleizhou-23372
Last seen 4.0 years ago
Sweden

Hi, I am trying to add gene names to match ensembl gene ID, below is the code and the error.
Any suggestions will be good. Thanks a lot!

genemap=getBM(attributes = c("ensemblgeneid","entrezgeneid","hgncsymbol"), + filters = "ensemblgeneid", + values = res$ensembl, + mart = ensembl) Batch submitting query [=============>----------------------------------------------------] 21% eta: 11mError in getBM(attributes = c("ensemblgeneid", "entrezgeneid", "hgncsymbol"), : The query to the BioMart webservice returned an invalid result: biomaRt expected a character string of length 1. Please report this on the support site at http://support.bioconductor.org

biomart • 431 views
ADD COMMENT
1
Entering edit mode
swbarnes2 ★ 1.3k
@swbarnes2-14086
Last seen 9 hours ago
San Diego

Everyone and their mother have been getting this error over the last several weeks. It's not you, it's ensembl. Just keep trying until it works, or try adding a mirror = "uswest" or "useast" or "asia" or removing the mirror part, and then keep trying until it works.

ADD COMMENT
0
Entering edit mode
@xiaoleizhou-23372
Last seen 4.0 years ago
Sweden

Thank you very much! I tried again and the process works and finally finished, but after running I only saw 3 observations and that's it. There may have something wrong with my code, I am rookie to R and just started and need sometime to figure it out.

ADD COMMENT

Login before adding your answer.

Traffic: 1106 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6