Description Usage Arguments Details Value Author(s) Examples
View source: R/databases_handling_functions.R
Map a given hgnc gene symbol to the ensembl gene id.
1 | 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
1 2 3 4 5 6 | ## 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)
|
GRCh version: 37,
and Ensembl Genes version: 88
Obtain a tibble with various gene id's and their genomic coordinates...
BiomaRt function call did not work. Possibly biomart or ensembl are currently down.
Here's the original error message:
Could not resolve host: www.ensembl.org
Load 'all_genes_tbl' from the GeneAccord saved data:
...done
[1] "ENSG00000134086"
[1] "ENSG00000163939"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.