Skip to content
Snippets Groups Projects
Commit fa4b3d75 authored by Naharajan's avatar Naharajan
Browse files

reverted back to clusterProfiler::bitr

parent f5fd079e
No related branches found
Tags v1.8
No related merge requests found
......@@ -128,11 +128,9 @@ annoDb <- guess_anno_db(geneLists$ensembl_gene_id) # e.g. "org.Hs.eg.db"
## convert to entrez gene ids
#glMappedRaw <- clusterProfiler::bitr(geneLists$ensembl_gene_id, fromType="ENSEMBL", toType="ENTREZID", annoDb=annoDb) %>%
# set_names("ensembl_gene_id", "entrez_gene_id") %>% right_join(geneLists)
glMappedRaw <- clusterProfiler::bitr(geneLists$ensembl_gene_id, fromType="ENSEMBL", toType="ENTREZID", annoDb=annoDb) %>%
set_names("ensembl_gene_id", "entrez_gene_id") %>% right_join(geneLists)
glMappedRaw <- bitr(geneLists$ensembl_gene_id, fromType="ENSEMBL", toType="ENTREZID", annoDb=annoDb) %>%
set_names("ensembl_gene_id", "entrez_gene_id") %>% right_join(geneLists)
#' Check how many failed to map
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment