hgnc_to_ensembl {GeneAccord} | R Documentation |
Map a given hgnc gene symbol to the ensembl gene id.
hgnc_to_ensembl(this_hgnc, all_genes_tbl)
this_hgnc |
The hgnc gene symbol of a gene. |
all_genes_tbl |
A tibble with all genes ensembl id's and hgnc gene symbols. |
For a hgnc gene symbol and a tibble with all genes as
input, this function returns the matching ensembl gene
id. The tibble with all genes can be generated with
create_ensembl_gene_tbl_hg
.
The matching ensembl gene id. In case several ensembl gene id's were found, they are all returned with ";" as a separator.
Ariane L. Moore
## Not run: all_genes_tbl <- create_ensembl_gene_tbl_hg() hgnc_to_ensembl("VHL", all_genes_tbl) hgnc_to_ensembl("PBRM1", all_genes_tbl) ## End(Not run)