#Example on building homology tables for human.
#mart <- useMart("ensembl", "hsapiens_gene_ensembl")
#homol.symbol <- getLDS(attributes = c("entrezgene"),
# mart = mart, attributesL = c("external_gene_id"),
# martL = mart, filters = "entrezgene", values = entrezid)
#mart <- useMart("ensembl", "hsapiens_gene_ensembl")
#homol.genename <- getLDS(attributes = c("entrezgene"),
# mart = mart, attributesL = c("description"), martL = mart,
# filters = "entrezgene", values = entrezid)
Run the code above in your browser using DataLab