View source: R/biomart_utils.R
gene_name_2_ensembl_id | R Documentation |
The ENSEMBL gene IDs are returned in the same order as the input gene names.
gene_name_2_ensembl_id(
gene_name,
only_ensembl_id = TRUE,
verbose = FALSE,
mRt_objct = ensembl
)
gene_name |
A character specifying the gene name |
only_ensembl_id |
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 ensembl gene ID or a data.frame
.
ensembl <- gimme_mart()
gene_name_2_ensembl_id("TSPAN6")
"ENSG00000000003"
# Example with mouse ensembl
ensembl <- gimme_mart(species = "mmusculus", latest = T, use_mirror = F,
out_dir = F, verbose = T)
gene_name_2_ensembl_id(gene_name = "TSPAN6")
"ENSMUSG00000067377"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.