[Experimental]

This helper function queries BioMart to translate Ensembl to Entrez Gene IDs.

h_ensembl_to_entrez_ids(gene_ids, mart)

Arguments

gene_ids

(character)
Ensembl gene IDs.

mart

(Mart)
given biomaRt::Mart object.

Value

Character vector of Entrez gene IDs.

Examples

if (interactive()) {
  mart <- biomaRt::useMart("ensembl", dataset = "hsapiens_gene_ensembl")
  h_ensembl_to_entrez_ids(c("ENSG00000135407", "ENSG00000241644"), mart)
}