ensembl_to_reactome {GeneAccord}R Documentation

Get the reactome pathways for an ensembl gene id.

Description

Map a given ensembl gene id to the reactome pathways that contain this gene.

Usage

ensembl_to_reactome(this_ensembl, ensg_reactome_path_map)

Arguments

this_ensembl

The ensembl id of a gene.

ensg_reactome_path_map

A tibble with all ensembl id's and their reactome pathways. Can be loaded with data("ensg_reactome_path_map").

Details

As input, an ensembl gene id is given as well as the tibble 'ensg_reactome_path_map'. It can be loaded with data("ensg_reactome_path_map"), and contains the ensembl gene id to reactome pathway mappings. The reactome pathways are from the lowest level of the hierarchy. This function returns the reactome pathways for the input gene.

Value

The pathways that contain this gene as a character vector.

Author(s)

Ariane L. Moore

Examples

data("ensg_reactome_path_map")
ensg_gene <- "ENSG00000134086"
ensembl_to_reactome(ensg_gene, ensg_reactome_path_map)

[Package GeneAccord version 1.11.0 Index]