[BioC] Annotate - gene name to ENSEMBL

Hans-Rudolf Hotz hrh at fmi.ch
Tue Nov 5 09:21:51 CET 2013


Hi Kripa

Use biomaRt
see: http://www.bioconductor.org/packages/release/bioc/html/biomaRt.html


quick example, assuming you are working with mouse, and want ensembl 
gene ids:

 > library(biomaRt)
 > ensembl = useMart("ensembl")
 > mouse.ensembl = useDataset("mmusculus_gene_ensembl",mart=ensembl)
 >
 > getBM(attributes = "ensembl_gene_id", filters = 'mgi_symbol', 
values=c("Papola"),mart=mouse.ensembl)
      ensembl_gene_id
1 ENSMUSG00000021111
 >


Regards, Hans-Rudolf




On 11/05/2013 02:07 AM, Kripa R wrote:
> Hi everyone,
>
> Does anyone know how to go from gene name to ENSEMBL ID?
>
> I'm using lumi to analyze my microarray data, however the names get changed from NuID to gene name when reading in the data.... I'd like to do pathway analysis but require either ENSEMBL or GO id format
>
> Any help would be greatly appreciated,
>
> .kripa
>   		 	   		
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
>



More information about the Bioconductor mailing list