Skip to content

Instantly share code, notes, and snippets.

@kieranrcampbell
Created October 24, 2018 22:08
Show Gist options
  • Save kieranrcampbell/9c96798cbdcf8b8b35dd00be5554ef7c to your computer and use it in GitHub Desktop.
Save kieranrcampbell/9c96798cbdcf8b8b35dd00be5554ef7c to your computer and use it in GitHub Desktop.
load("../../data/genesets/human_H_v5p2.rdata")
go_gs <- Hs.H
entrezgene_ensembl_map <- as.list(org.Hs.egENSEMBL)
map_ids <- function(entrezgenes) {
x <- unlist(entrezgene_ensembl_map[entrezgenes])
names(x) <- NULL
x
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment