Entering edit mode
Tim Smith
★
1.1k
@tim-smith-1532
Last seen 10.2 years ago
Hi,
I wanted to query on the NCBI36 build, and built the following query:
----------------------------------------
entrezIDs <- c("8334","85236","10857","8349","5055") # sample list of
ids
ensembl <- useMart(biomart="ensembl",
dataset="hsapiens_gene_ensembl",archive=TRUE) #"ensembl_mart_49"
locations <- getBM(c('entrezgene','hgnc_symbol','chromosome_name',
'start_position','end_position'),
filters="entrezgene",
values=entrezIDs, mart=ensembl)
_________________________________
I get the following error:
Error in listFilters(mart, what = "type") :
The function argument 'what' contains an invalid value: type
Valid are: name, description, options, fullDescription, filters5,
filters6
How should I modify the query? If I use the query with the
current/default version of ensembl, the query executes ok.
thanks!
My sessionInfo() is:
-----------------
R version 2.9.1 (2009-06-26)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] grid stats graphics grDevices utils datasets
methods
[8] base
other attached packages:
[1] e1071_1.5-19 class_7.2-47 org.Hs.eg.db_2.2.11
[4] GOstats_2.10.0 graph_1.22.2 Category_2.10.1
[7] GO.db_2.2.11 biomaRt_2.0.0 multtest_2.1.1
[10] XML_2.5-3 genefilter_1.24.2 hgu133a.db_2.2.12
[13] RSQLite_0.7-1 DBI_0.2-4 AnnotationDbi_1.6.1
[16] GEOquery_2.8.0 RCurl_0.98-1 affy_1.22.0
[19] Biobase_2.4.1 gplots_2.7.1 caTools_1.9
[22] bitops_1.0-4.1 gdata_2.6.1 gtools_2.6.1
[25] lattice_0.17-25
loaded via a namespace (and not attached):
[1] affyio_1.12.0 annotate_1.22.0 GSEABase_1.6.1
[4] MASS_7.2-47 preprocessCore_1.6.0 RBGL_1.20.0
[7] splines_2.9.1 survival_2.35-4 tools_2.9.1
[10] xtable_1.5-5
>
[[alternative HTML version deleted]]