Skip to content

Instantly share code, notes, and snippets.

@thomaskelder
Created July 16, 2013 06:59
Show Gist options
  • Select an option

  • Save thomaskelder/6006409 to your computer and use it in GitHub Desktop.

Select an option

Save thomaskelder/6006409 to your computer and use it in GitHub Desktop.
Illumina annotation
library(limma)
library(lumiMouseAll.db)
nu.ids = rownames(data) ## A list of lumi nuIDS
nu.annot = nuID2IlluminaID(nu.ids, lib.mapping = "lumiMouseIDMapping", idType = "All")
## Get entrez ids and gene names
geneNames = as.character(as.list(lumiMouseAllGENENAME)[nu.ids])
entrezIds = as.character(as.list(lumiMouseAllENTREZID)[nu.ids])
nu.annot = cbind(nu.annot, EntrezID = entrezIds, GeneName = geneNames)
rownames(data) = nu.annot[,'Probe_Id']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment