Created
July 16, 2013 06:59
-
-
Save thomaskelder/6006409 to your computer and use it in GitHub Desktop.
Illumina annotation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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