| grex | R Documentation |
Map Ensembl IDs to Entrez Gene ID, HGNC symbol, and UniProt ID, with basic annotation information such as gene type.
grex(ensembl_id)
ensembl_id |
Character vector of Ensembl IDs |
This function returns a data frame with the same number of rows as the length of input Ensembl IDs, containing:
ensembl_id - Input Ensembl ID
entrez_id - Entrez Gene ID
hgnc_symbol - HGNC gene symbol
hgnc_name - HGNC gene name
cyto_loc - Cytogenetic location
uniprot_id - UniProt ID
gene_biotype - Gene type
The elements that cannot be mapped will be NA.
# Ensembl IDs in GTEx v6p gene count data
data("gtexv6p")
# select 100 IDs as example
id <- gtexv6p[101:200]
df <- grex(id)
# Rows that have a mapped Entrez ID
df[
!is.na(df$"entrez_id"),
c("ensembl_id", "entrez_id", "gene_biotype")
]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.