getGeneHomology: Retrieve Homology Information from Ensembl

View source: R/genes.R

getGeneHomologyR Documentation

Retrieve Homology Information from Ensembl

Description

This function queries Ensembl using the 'biomaRt' package to retrieve ortholog information for multiple species relative to human genes. It returns a list where each element contains the homology data for a given species.

Usage

getGeneHomology(
  mirror = "https://uswest.ensembl.org",
  species_list = c("mmulatta")
)

Arguments

mirror

A character string specifying the Ensembl mirror to use. Default is '"https://uswest.ensembl.org"'.

species_list

A character vector of species names (in Ensembl format) for which homology data should be retrieved. Default includes '"mmusculus"', '"mmulatta"', '"ppaniscus"', '"ptroglodytes"', '"ggorilla"', '"nleucogenys"', '"hsapiens"', and '"cjacchus"'.

Value

A named list where each element contains a data frame with homology information for a given species.

Examples

## Not run: 
homology_data <- getGeneHomology()
head(homology_data$mmusculus)

## End(Not run)

eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.