Downloads a standardized gene annotation table for human or mouse using biomaRt.
Includes Ensembl ID, gene symbol, Entrez ID, gene type, chromosome location, and other metadata.
download_gene_ref(
species = c("human", "mouse"),
remove_empty_symbol = FALSE,
remove_na_entrez = FALSE,
save = FALSE,
save_path = NULL
)A data.frame containing gene annotation.
Organism, either "human" or "mouse". Default is "human".
Logical. Remove entries with missing gene symbol. Default: FALSE.
Logical. Remove entries with missing Entrez ID. Default: FALSE.
Logical. Whether to save the result as .rds. Default: FALSE.
File path to save (optional). If NULL, will use default gene_ref_<species>_<date>.rds.