I am trying to get the list of entrez ids based on the unigene ids from rat. I used your queryMany() in the package of mygene.
However, it always gives me the error message of Error in rename(df, c(X_id = "_id")) : Some 'from' names in value not found on 'x': X_id
If my input is a symbol, it works perfectly fine. For example, I have two rat genes Abcc3 and Havcr1
xli <- c('Abcc3', 'Havcr1') queryMany(xli, scopes = "symbol", fields="entrezgene", species="rat") Finished DataFrame with 2 rows and 4 columns query _id X_score entrezgene <character> <character> <numeric> <character> 1 Abcc3 140668 62.3720 140668 2 Havcr1 286934 67.7964 286934
However, if I use unigene ids as input, I got the error.
unigenelist <-c (128323, 165430) unigenelist [1] 128323 165430 queryMany(unigenelist, scopes="unigene", fields="entrezgene", species="rat") Finished Error in rename(df, c(X_id = "_id")) : Some 'from' names in value not found on 'x': X_id
```