View source: R/biomart_utils.R
ensembl_id_2_entrez | R Documentation |
Convenient converter from ensembl ID to entrez ID
ensembl_id_2_entrez(
ensembl_gene_id,
only_entrez = TRUE,
verbose = FALSE,
mRt_objct = ensembl
)
ensembl_gene_id |
A character specifying the ENSEMBL gene ID |
only_entrez |
Logical, whether to return only the gene name or a |
verbose |
Logical. Do you want me to be chatty? |
mRt_objct |
A |
A character corresponding to an entrez ID or a data.frame
.
# Example with human ensembl
ensembl <- gimme_mart()
ensembl_id_2_gene_name("ENSG00000000003")
"7105"
# Example with mouse ensembl
ensembl <- gimme_mart(species = "mmusculus", latest = T, use_mirror = F,
out_dir = F, verbose = T)
ensembl_id_2_entrez("ENSMUSG00000067377")
"56496"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.