I am trying to get gene symbols for gene ids that I got for mouse datasets. Gene ids look like that: `0610009B22Rik`. The code that I am trying to utilize is the following one: 

    ensembl <- useMart("ensembl", dataset="mmusculus_gene_ensembl")
    mouse_gene_ids <- dataset[, 1]
    foo <- getBM(attributes=c('ensembl_gene_id',
                          'external_gene_name'),
             filters = 'genedb',
             values = mouse_gene_ids,
             mart = ensembl)

I am getting `zero` results as an output after the query runs. I guess `filters` parameter is wrong.  Any suggestions would be greatly appreciated.
The filter you need is `mgi_symbol` e.g.

    library(biomaRt)

    ensembl <- useMart("ensembl", dataset="mmusculus_gene_ensembl")
    mouse_gene_ids  <- "0610009B22Rik"

    foo <- getBM(attributes=c('ensembl_gene_id',
                              'external_gene_name'),
                 filters = 'mgi_symbol',
                 values = mouse_gene_ids,
                 mart = ensembl)

Here's the result:

    > foo
         ensembl_gene_id external_gene_name
    1 ENSMUSG00000007777      0610009B22Rik

I find the best way to choose the correct filter is to start with the Ensembl BioMart web interface, use the examples in the *Filters -> external references ID list* dropdown list to find the format I'm using, and then hit the XML button near the top.  This will let you see the filter name required by **biomaRt**