Internal function for obtaining biomaRt mapping
get_biomart_mapping(species, symbol_name, dir_save, verbose)
A data frame containing a mapping between entrezgene IDs and gene symbols.
The species to obtain a biomart dataset for. This should be
an output from format_species_name
.
The type of gene symbol to use. HGNC symbols are used by
default (hgnc_symbol), unless species
is "mmusculus", in which case MGI
symbols are used (mgi_symbol).
The directory to store annotation reference. Future
calls to this function will use the stored annotations. This speeds up the
operation and allows for reproducibility in the event that the biomaRt
database is updated. Set to NULL to disable. By default, it uses a
temporary directory to store files during the R session.
Set to FALSE to avoid messages.