retrieveOrthologs {RCAS} | R Documentation

## retrieveOrthologs

### Description

Given two biomart connections and a set of entrez gene identifiers; retrieve orthologs between mart1 and mart2 for the given list of genes

### Usage

    retrieveOrthologs(mart1, mart2, geneSet)

### Arguments

`mart1` | An Ensembl biomart connection for reference species created using the `biomaRt::useMart()` function
`mart2` | An Ensembl biomart connection for target species created using the `biomaRt::useMart()` function
`geneSet` | A vector of Entrez gene ids from a reference species (should be available at the biomart object, mart1)

### Value

A data.frame object containing a mapping of orthologouse genes from two mart objects

### Examples

    mart1 <- biomaRt::useMart(biomart = 'ENSEMBL_MART_ENSEMBL',
                                   dataset = "hsapiens_gene_ensembl")
    mart2 <- biomaRt::useMart(biomart = 'ENSEMBL_MART_ENSEMBL',
                                  dataset = "mmusculus_gene_ensembl")
    genes <- c('2645','5232', '5230','5162','5160')
    orthologs <- retrieveOrthologs( mart1, mart2, genes)

[Package RCAS version 1.8.0 Index]