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
)
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)
What is
mm10.kgXref.geneSymbol
?The
kgXref.geneSymbol
is the gene name that I got when downloaded the known gene from UCSC website using table browser