In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to convert ENSEMBL ID into Gene ID or Symbol in R language, which has a certain reference value, and interested friends can refer to it. I hope you can learn a lot after reading this article.
AnnotationDbi and the annotation file corresponding to the binding species, convert ENSEMBL ID to Gene ID (ENTREZID)
How to use ENSEMBL ID to get Gene ID (ENTREZID) in R, or convert it to Gene Symbol, take people as an example:
Pre-install AnnotationDbi and org.Hs.eg.db
Load org.Hs.eg.db
> library (org.Hs.eg.db)
Get all the ENSEMBL ID and view the first five ID
> k=keys (org.Hs.eg.db,keytype = "ENSEMBL") > head (KM5) [1] "ENSG00000121410", "ENSG00000175899", "ENSG00000256069", "ENSG00000171428" and "ENSG00000156006"
Based on the extracted ENSEMBL ID, extract all the corresponding Gene ID (ENTREZID) (and Symbol), and take a look at the extracted content.
> list=select (org.Hs.eg.db,keys=k,columns = c ("ENTREZID", "SYMBOL"), keytype= "ENSEMBL") 'select ()' returned 1:many mapping between keys and columns > dim (list) [1] 29140 3 > head (list,5) ENSEMBL ENTREZID SYMBOL1 ENSG00000121410 1 A1BG2 ENSG00000175899 2 A2M3 ENSG00000256069 3 A2MP14 ENSG00000171428 9 NAT15 ENSG00000156006 10 NAT2
Pre-prepared ENSEMBL ID, how to find their corresponding Gene ID (ENTREZID) and Symbol, such as in ID, to get the corresponding relationship: ID_list
> ID [1] "ENSG00000256069", "ENSG00000127837", "ENSG00000129673", "ENSG00000276016", "ENSG00000075624", "ENSG00000204262" [7], "ENSG00000149294", "ENSG00000069943", "ENSG00000173992", "ENSG00000166171", "ENSG00000177201" > ID_list= list [ID,list [, "ENSEMBL"]) ] > ID_list ENSEMBL ENTREZID SYMBOL3 ENSG00000256069 3 A2MP18 ENSG00000127837 14 AAMP9 ENSG00000129673 15 AANAT30 ENSG00000276016 29 ABR59 ENSG00000075624 60 ACTB1017 ENSG00000204262 1290 COL5A23856 ENSG00000149294 4684 NCAM17605 ENSG00000069943 9488 PIGB8058 ENSG00000173992 9973 CCS10155 ENSG00000166171 25911 DPCD17531 ENSG00000177201 127064 OR2T12 Thank you for reading this article carefully I hope the article "how to convert ENSEMBL ID into Gene ID or Symbol in R language" shared by the editor will be helpful to you. At the same time, I hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.