getHomolog {biomaRt}R Documentation

Get homologs

Description

This function retrieves homologs of genes from one species in another species

Usage

getHomolog(id = NULL, from.type = NULL, to.type = NULL, from.species = NULL, to.species = NULL, mart = NULL, output = "martTable")

Arguments

id gene identifier
from.type type of identifier, value should be either entrezgene, embl or refseq
to.type type of identifier, value should be either entrezgene, embl or refseq
from.species species of which the id is from. Accepted values for species can be retrieved with the function getSpecies()
to.species species in which you want to find the homologs. Accepted values for species can be retrieved with the function getSpecies()
mart object of class Mart, containing connections to the BioMart databases. You can creat such an object using the function martConnect.
output desired output type, object of class martTable

Author(s)

Sean Davis, Steffen Durinck, http://www.esat.kuleuven.ac.be/~sdurinck

See Also

Examples

## Not run: 
mart <- martConnect()

getHomolog(id = 1:20, from.species = 'hsapiens', to.species = 'mmusculus', from.type = 'entrezgene', to.type = 'refseq', mart = mart)

martDisconnect(mart = mart)
## End(Not run)

[Package biomaRt version 1.0.4 Index]