Closed aarbduarte closed 3 years ago
I think there might be a problem with the server at Ensembl's end. I get a similar failure if I try to use the BioMart web interface. It looks like the code is still working if you use the version 100 archive, which should not be too out of date:
library(biomaRt)
snpmart <- useEnsembl(biomart = "snp", dataset = "hsapiens_snp", version = 100)
getBM(attributes = c('refsnp_id'),
filters = c('chr_name','start','end'),
values = list(1,1230159,1230160),
mart = snpmart)
#> refsnp_id
#> 1 rs1362011993
#> 2 rs11260563
thank you
Hi, I've been using biomaRt for the past year but recently I'm not able to retrieve rs ids from genomics position.
Using the following code:
returns:
when it should have returned rs11260563. Any idea?