conversion gene id to ensemble id
1
0
Entering edit mode
4.2 years ago

Hi, Are there any packages available to convert "gene id to ensemble id". I am using "biomaRt" and "org.Hs.eg.db" but it does not able to convert "gene id to ensemble id".

I can convert "Gene Symbol to the ensemble" but with gene ID both packages show an error. eg. 'keys' must be a character vector

Genes name are in this format "A2BP1|54715", "A2LD1|87769", "A2ML1|144568". I am using only the integer part for conversion. As some genes have no name for example "?|155060" So I decided to stick with the conversion of the numbers.

Best: Imran

RNA-Seq • 1.0k views
ADD COMMENT
2
Entering edit mode
4.2 years ago
Ram 44k

Use as.character to convert the integer vector to a character vector and it'll work.

ADD COMMENT
0
Entering edit mode

Thank you. It Works. str(dataframe$column) shows it was int. I converted this column into char.
best: Imran

ADD REPLY

Login before adding your answer.

Traffic: 1915 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