Created
February 16, 2018 21:49
-
-
Save kieranrcampbell/2ca5f5e608670b322398ae46c03a7a36 to your computer and use it in GitHub Desktop.
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(biomaRt) | |
ensembl <- useMart("ensembl") | |
ensembl <- useDataset("hsapiens_gene_ensembl", mart=ensembl) | |
bm <- getBM(attributes = c("ensembl_gene_id", "hgnc_symbol"), | |
filters = c("ensembl_gene_id"), | |
values = ensembl_gene_ids, | |
mart = ensembl) %>% | |
as_data_frame() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment