ensembl_to_hgnc {GeneAccord}R Documentation

Get the hgnc gene symbol for an ensembl gene id.

Description

Map a given ensembl gene id to the hgnc gene symbol.

Usage

ensembl_to_hgnc(this_ensembl, all_genes_tbl)

Arguments

this_ensembl

The ensembl id of a gene.

all_genes_tbl

A tibble with all genes ensembl id's and hgnc symbols.

Details

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.

Value

The matching hgnc gene symbol.

Author(s)

Ariane L. Moore

Examples

## 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)

[Package GeneAccord version 1.10.0 Index]