would you please help me on the following please ; I am using MapIds function in order to map a set of ENSEMLTRANS to gene SYMBOL(s) by using the piece of code below :
If you use an OrgDb package to map gene symbols to Ensembl transcript IDs, what you are really asking for is Gene symbol -> NCBI Gene ID -> Ensembl Transcript ID. Which assumes that the mapping from NCBI to Ensembl will give you all the stuff. But that's not how it works! NCBI and EBI have way different methods of determining where genes are, what transcripts are available, where the transcripts are, etc. And when they map between their content, there are a set of rules to decide if they agree closely enough to say a particular transcript is the same thing. They don't always agree!
Rather than taking the naive approach that they should agree and that you should be able to use an NCBI-based database to map gene symbols to Ensembl Transcript IDs, you should instead use Ensembl-based data from the start. You could use the biomaRt package, or any of the EnsDb packages that Johannes Rainier provides.
thanks a lot, James. Warm greetings from us.