I am tying to retrieve mouse mm10 gene information using biomart library in R, but I don't know how to do that

(The information that I need are `mm10.knownGene.name`, `mm10.knownGene.chrom`, `mm10.knownGene.strand`, `mm10.knownGene.txStart`, `mm10.knownGene.txEnd` and `mm10.kgXref.geneSymbol`)

```r
source("http://bioconductor.org/biocLite.R")
biocLite("biomaRt")

library(biomaRt)

mouse = useMart("ensembl", dataset = "mmusculus_gene_ensembl")
listFilters(mouse)

getBM(attributes=c("ensembl_gene_id", "mgi_symbol"), filters= "mgi_symbol", mart=mouse)
```
If you just want mm10 symbol, chr, strand, transcript start & end, you could do this:

```r
res <- getBM(attributes = c("ensembl_gene_id", "mgi_symbol","chromosome_name",'strand','transcript_start','transcript_end'), mart = mouse)
```

If you have list of genes:

```r
#genesym is a character vector of gene symbols
res <- getBM(attributes = c("ensembl_gene_id", "mgi_symbol","chromosome_name",'strand','transcript_start','transcript_end'), filters = genesym, mart = mouse)
```