ensembl_to_hgnc {GeneAccord} | R Documentation |
Map a given ensembl gene id to the hgnc gene symbol.
ensembl_to_hgnc(this_ensembl, all_genes_tbl)
this_ensembl |
The ensembl id of a gene. |
all_genes_tbl |
A tibble with all genes ensembl id's and hgnc symbols. |
For an ensembl id and a tibble with all genes as input, this
function returns the matching
hgnc gene symbol. The tibble with all genes can be generated
with create_ensembl_gene_tbl_hg
.
The matching hgnc gene symbol.
Ariane L. Moore
## Not run: all_genes_tbl <- create_ensembl_gene_tbl_hg() ensembl_to_hgnc("ENSG00000134086", all_genes_tbl) ensembl_to_hgnc("ENSG00000141510", all_genes_tbl) ## End(Not run)