gene ensemble ID- no symbol
0
0
Entering edit mode
3.2 years ago
Rob ▴ 170

Hello friends, I used this code to convert ensemble gene ID to gene symbol:

df <- read.csv("gene_Ens_ID.csv") 
library('biomaRt')
mart <- useDataset("hsapiens_gene_ensembl", useMart("ensembl"))

attributeNames <- c('ensembl_gene_id','external_gene_name','description','gene_biotype', "hgnc_symbol", 'chromosome_name', 'start_position', 'end_position', 'description')
filterValues <-df$gene

Annotations <- getBM(attributes=attributeNames, filters = "ensembl_gene_id",values = filterValues, mart=useMart(biomart="ensembl", dataset="hsapiens_gene_ensembl"))
write.csv(Annotations, "gene_Ids.csv")

About 300 genes do not have symbol or ID. how can I find the symbols or gene IDs for them?

gene • 581 views
ADD COMMENT

Login before adding your answer.

Traffic: 2379 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6