Dear Forum,

I am trying to get the entrezgene information for a list of ensembl_gene_id,
the command that I am using is
test3<-getBM(attributes = c("ensembl_gene_id", "entrezgene","hgnc_symbol"),
filters = "ensembl_gene_id", values =dataHT[,1], mart=human)

the list dataHT[,1] has 10,987 unique ids and the first ensembl_gene_id is
ENSG00000000003 which corresponds to entrezgene 7105
the result has 18533 rows and the first value is not 7105, showing that the
query is not happening by order in the filter vector and I am getting too
many hits, with doubled lines with almost the same information, and not by
the order of the query vector (see result below), can someone, help me with
this?
head(test3)
  ensembl_gene_id entrezgene hgnc_symbol
1 ENSG00000198692       9086      EIF1AY
2 ENSG00000198692         NA      EIF1AY
3 ENSG00000101557       9097       USP14
4 ENSG00000079134       9984       THOC1
5 ENSG00000158270      81035     COLEC12
6 ENSG00000079101      27098       CLUL1

Thanks
Andreia

	[[alternative HTML version deleted]]

