getHomolog {biomaRt} | R Documentation |
This function retrieves homologs of genes from one species in another species
getHomolog(id = NULL, from.type = NULL, to.type = NULL, from.species = NULL, to.species = NULL, mart = NULL, output = "martTable")
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 |
Sean Davis, Steffen Durinck, http://www.esat.kuleuven.ac.be/~sdurinck
## 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)