Like other identifiers, entrez ids are also change as time goes by.
I used two library, 'org.Hs.eg.db' and 'annotate', to convert entrez ids into gene symbols.
Some of entrez ids were not changed because of updates.
Take entrez id 164022 as an example,
library(org.Hs.eg.db);library(annotate) getSYMBOL('164022',data = 'org.Hs.eg') 164022 NA
If you search the entrez id at NCBI, it says that 164022 was replaced with 653505.
Therefore, you should use the newest entrez id to get its gene symbol.
getSYMBOL('653505',data = 'org.Hs.eg') 653505 "PPIAL4A"
There are about two hundreds entrez ids whose symbol-matching failed.
As manual searching requires huge time, I need a solution.
How to update old entrez ids into newest entrez id?
Is there a function or library for this?