Skip to contents

This function retrieves gene information from the Ensembl database using the specified filters. It can either fetch the latest data or use cached data if available.

Usage

getGenes(filters = NULL, cache = TRUE)

Arguments

filters

A character vector of filters to be applied in the query. These filters determine which genes and their associated information are returned from the Ensembl database.

cache

Logical. If TRUE, the function will use cached data if available. If FALSE, it will download the latest version of the gene data from Ensembl.

Value

A list containing gene information retrieved from Ensembl, with each element representing data for a specific gene (e.g., gene IDs, descriptions, associated attributes).