I was wondering if someone might be able to help suggest a good way to generate a mapping of human/mouse orthologs, using ENSEMBL gene IDs?
I found a R function for mapping mouse genes to homologous human genes ? which pointed me to the inpIDMapper function in the AnntoationDbi package. The example usage shows how this function can be used to map a gene-indexed list of UniProt protein IDs, however, it's not clear whether this can be adapted for use with ENSEMBL gene ID's.
human_ids <- c('ENSG00000109339', 'ENSG00000129990', 'ENSG00000132854', 'ENSG00000148204') human_ids <- setNames(as.list(human_ids), human_ids) mouse_ids <- inpIDMapper(human_ids, 'HOMSA', 'MUSMU', srcIDType='EG')
Results in an error:
Error in names(destIDs) <- dnames : attempt to set an attribute on NULL Calls: inpIDMapper
Does anyone have a suggestion about how to go about generating such a mapping, using either this or another function?
Any help would be greatly appreciated.