YuLab-SMU / clusterProfiler

:bar_chart: A universal enrichment tool for interpreting omics data
https://yulab-smu.top/biomedical-knowledge-mining-book/
967 stars 246 forks source link

bitr报错 #682

Closed wangtanzhang612 closed 2 months ago

wangtanzhang612 commented 3 months ago

你好! bitr转ID突然出现报错

Gene_ID <- bitr(deg$gene,fromType="SYMBOL", toType="ENTREZID", OrgDb="org.Hs.eg.db")

'select()' returned 1:many mapping between keys and columns Error in bitr(deg$gene, fromType = "SYMBOL", toType = "ENTREZID", OrgDb = "org.Hs.eg.db") : (converted from warning) 6.88% of input gene IDs are fail to map...

guidohooiveld commented 3 months ago

I don't fully understand why it is reported as error, and not as warning, but the issue is that not all the gene symbols you used as input could be converted to entrezid. Maybe you should use ALIAS asfromType, or, alternatively, it could be that some gene symbols are not valid anymore (input is too old?) and are therefore not 'recognized'.